+ 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/giflib-util-5.2.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/giflib-util-5.2.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for giflib-5.2.1.tar.gz
=> Checksum SHA512 OK for giflib-5.2.1.tar.gz
===> Installing dependencies for giflib-util-5.2.1nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xmlto-[0-9]*: found xmlto-0.0.28nb8
=> Full dependency giflib>=5.2.1nb4: found giflib-5.2.1nb4
===> Overriding tools for giflib-util-5.2.1nb1
===> Extracting for giflib-util-5.2.1nb1
===> Patching for giflib-util-5.2.1nb1
=> Applying pkgsrc patches for giflib-util-5.2.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/giflib-util/../../graphics/giflib/patches/patch-Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/giflib-util/../../graphics/giflib/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.5 2020/06/05 12:15:16 jperkin Exp $
|
|- Inherit the PREFIX rather than hard-coding it.
|- Adjust location where manuals are installed.
|- Apply <https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/>
|  to fix Darwin build
|- Move quantize.c back into libgif.so to fix various library users.
|
|--- Makefile.orig	2019-06-24 16:08:57.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 14.
Hunk #2 succeeded at 29.
Hunk #3 succeeded at 63.
Hunk #4 succeeded at 102.
Hunk #5 succeeded at 113.
Hunk #6 succeeded at 127.
done
===> Creating toolchain wrappers for giflib-util-5.2.1nb1
===> Configuring for giflib-util-5.2.1nb1
=> Checking for portability problems in extracted files
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp