+ 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/sameboy-0.15.8nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sameboy-0.15.8nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sameboy-0.15.8.tar.gz
=> Checksum SHA512 OK for sameboy-0.15.8.tar.gz
===> Installing dependencies for sameboy-0.15.8nb2
==========================================================================
The supported build options for sameboy are:

	openal

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.sameboy (not defined)

==========================================================================
=> Tool dependency rgbds>=0.5.0: found rgbds-0.5.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
===> Overriding tools for sameboy-0.15.8nb2
===> Extracting for sameboy-0.15.8nb2
===> Patching for sameboy-0.15.8nb2
=> Applying pkgsrc patches for sameboy-0.15.8nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/sameboy/../../emulators/sameboy/patches/patch-Core_gb.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Core_gb.c,v 1.1 2021/08/10 12:20:41 nia Exp $
|
|Fix building with memcpy defined as a macro (FORTIFY_SOURCE/SSP).
|
|--- Core/gb.c.orig	2021-08-01 13:19:40.000000000 +0000
|+++ Core/gb.c
--------------------------
Patching file Core/gb.c using Plan A...
Hunk #1 succeeded at 340 (offset 33 lines).
Hunk #2 succeeded at 354 (offset 33 lines).
done
===> Creating toolchain wrappers for sameboy-0.15.8nb2
===> Configuring for sameboy-0.15.8nb2
=> Checking for portability problems in extracted files