+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/open-simh-4.1.0.20230511/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/open-simh-4.1.0.20230511/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz
=> Checksum SHA512 OK for open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz
===> Installing dependencies for open-simh-4.1.0.20230511
==========================================================================
The following variables will affect the build process of this package,
open-simh-4.1.0.20230511.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency dejavu-ttf-[0-9]*: found dejavu-ttf-2.37
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.26.5nb1
=> Full dependency SDL2_ttf>=2.20.2nb1: found SDL2_ttf-2.20.2nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20210419nb1
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.4
===> Overriding tools for open-simh-4.1.0.20230511
===> Extracting for open-simh-4.1.0.20230511
/usr/bin/mkdir -p /home/pbulk/build/emulators/open-simh/work/simh-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8/BIN
===> Patching for open-simh-4.1.0.20230511
=> Applying pkgsrc patches for open-simh-4.1.0.20230511
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/open-simh/patches/patch-makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/open-simh/patches/patch-makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-makefile,v 1.2 2022/12/11 20:28:09 rhialto Exp $
|
|Fix png16 detection.
|Let INCLUDES and LIBRARIES be the sole source for INCPATH and LIBPATH,
|to avoid seeing non-pkgsrc libraries (except MacOS platform).
|
|--- makefile.orig	2022-12-05 17:16:52.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 399 (offset 33 lines).
Hunk #2 succeeded at 416 (offset 33 lines).
Hunk #3 succeeded at 427 (offset 33 lines).
Hunk #4 succeeded at 444 (offset 33 lines).
Hunk #5 succeeded at 453 (offset 33 lines).
Hunk #6 succeeded at 484 (offset 33 lines).
Hunk #7 succeeded at 494 (offset 33 lines).
Hunk #8 succeeded at 506 (offset 33 lines).
Hunk #9 succeeded at 548 (offset 33 lines).
Hunk #10 succeeded at 666 (offset 33 lines).
Hunk #11 succeeded at 917 (offset 33 lines).
Hunk #12 succeeded at 1282 (offset 2 lines).
done
===> Creating toolchain wrappers for open-simh-4.1.0.20230511
===> Configuring for open-simh-4.1.0.20230511
=> Checking for portability problems in extracted files