+ 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
=> 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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency SDL>=1.2.15nb17: found SDL-1.2.15nb43
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4
=> Full dependency glu>=6.0: found glu-9.0.3
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> 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