+ 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/libretro-stella-6.7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-stella-6.7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for stella-6.7-src.tar.xz
=> Checksum SHA512 OK for stella-6.7-src.tar.xz
===> Installing dependencies for libretro-stella-6.7
=> 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
===> Overriding tools for libretro-stella-6.7
===> Extracting for libretro-stella-6.7
===> Patching for libretro-stella-6.7
=> Applying pkgsrc patches for libretro-stella-6.7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-stella/../../emulators/stella/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-stella/../../emulators/stella/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.8 2021/02/10 11:55:22 nia Exp $
|
|Shell portability.
|
|--- configure.orig	2021-01-24 13:41:01.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 836 (offset 32 lines).
done
===> Creating toolchain wrappers for libretro-stella-6.7
===> Configuring for libretro-stella-6.7
=> Checking for portability problems in extracted files