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

	alsa pulseaudio

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

	PKG_OPTIONS.picodrive (not defined)

==========================================================================
=> 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-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency png>=1.6.0nb1: found png-1.6.43
===> Overriding tools for picodrive-1.93
===> Extracting for picodrive-1.93
===> Patching for picodrive-1.93
=> Applying pkgsrc patches for picodrive-1.93
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2024/04/26 09:04:31 nia Exp $
|
|Don't build support for evdev by default on non-Linux.
|
|--- Makefile.orig	2024-04-16 19:16:33.283380940 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 132.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-platform_libpicofe_linux_plat.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-platform_libpicofe_linux_plat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-platform_libpicofe_linux_plat.c,v 1.1 2024/04/26 09:04:31 nia Exp $
|
|NetBSD support.
|
|--- platform/libpicofe/linux/plat.c.orig	2024-04-16 19:15:52.544337311 +0000
|+++ platform/libpicofe/linux/plat.c
--------------------------
Patching file platform/libpicofe/linux/plat.c using Plan A...
Hunk #1 succeeded at 215.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-platform_libpicofe_posix.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/picodrive/patches/patch-platform_libpicofe_posix.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-platform_libpicofe_posix.h,v 1.1 2024/04/26 09:04:31 nia Exp $
|
|NetBSD support.
|
|--- platform/libpicofe/posix.h.orig	2024-04-16 19:15:33.864037786 +0000
|+++ platform/libpicofe/posix.h
--------------------------
Patching file platform/libpicofe/posix.h using Plan A...
Hunk #1 succeeded at 2.
done
===> Creating toolchain wrappers for picodrive-1.93
===> Configuring for picodrive-1.93
=> Correcting the path to the OSS device.
=> Checking for portability problems in extracted files
architecture        x86_64
platform            generic
sound drivers       sdl oss
C compiler          gcc
C compiler flags    -DPICO_DATA_DIR="\"/opt/pkg/share/picodrive/\"" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wno-unused-result
libraries           -L/opt/pkg/lib -R/opt/pkg/lib -lSDL -lpthread -lposix4 -lpng  -lm -lz
linker flags        -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv
libavcodec (mp3)    no