+ 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/hugs98-unix-2.0.20060921/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hugs98-unix-2.0.20060921/work.log
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for unix-2.0.20060921.tar.gz
=> Checksum SHA512 OK for unix-2.0.20060921.tar.gz
===> Installing dependencies for hugs98-unix-2.0.20060921
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency hugs98>=200609: found hugs98-200609nb1
===> Overriding tools for hugs98-unix-2.0.20060921
===> Extracting for hugs98-unix-2.0.20060921
===> Patching for hugs98-unix-2.0.20060921
=> Applying pkgsrc patches for hugs98-unix-2.0.20060921
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hugs-unix/patches/patch-include_HsUnix.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/hugs-unix/patches/patch-include_HsUnix.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_HsUnix.h,v 1.1 2013/03/24 17:00:53 joerg Exp $
|
|--- include/HsUnix.h.orig	2013-03-24 15:10:05.000000000 +0000
|+++ include/HsUnix.h
--------------------------
Patching file include/HsUnix.h using Plan A...
Hunk #1 succeeded at 82.
done
===> Creating toolchain wrappers for hugs98-unix-2.0.20060921
===> Configuring for hugs98-unix-2.0.20060921
=> Checking for portability problems in extracted files
cd /home/pbulk/build/devel/hugs-unix/work/unix-2.0.20060921 && /opt/pkg/bin/runhugs -98 Setup.hs  configure  --verbose  --prefix=/opt/pkg  --hugs  --with-cpphs=/opt/pkg/bin/cpphs-hugs  --with-hsc2hs=/opt/pkg/bin/hsc2hs-hugs
Configuring unix-2.0.20060921...
configure: searching for ffihugs in path.
configure: found ffihugs at /opt/pkg/bin/ffihugs
configure: looking for package tool: hugs near compiler in /opt/pkg/bin/ffihugs
configure: found package tool in /opt/pkg/bin/hugs
configure: Using install prefix: /opt/pkg
configure: Binaries installed in: /opt/pkg/bin
configure: Libraries installed in: /opt/pkg/lib/hugs/packages/unix
configure: Private binaries installed in: /opt/pkg/libexec
configure: Data files installed in: /opt/pkg/share/unix-2.0.20060921
configure: Using compiler: /opt/pkg/bin/ffihugs
configure: Compiler flavor: Hugs
configure: Compiler version: 
configure: Using package tool: /opt/pkg/bin/hugs
configure: Using ar found on system at: /usr/bin/ar
configure: No haddock found
configure: No pfesetup found
configure: Using ranlib found on system at: /opt/tools/bin/ranlib
configure: No runghc found
configure: Using runhugs found on system at: /opt/pkg/bin/runhugs
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /opt/pkg/bin/hsc2hs-hugs
configure: No c2hs found
configure: Using cpphs: /opt/pkg/bin/cpphs-hugs
configure: No greencard found
./configure --with-hc=hugs --prefix=/opt/pkg
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /home/pbulk/build/devel/hugs-unix/work/.tools/bin/grep
checking for egrep... /home/pbulk/build/devel/hugs-unix/work/.tools/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for an ANSI C-conforming const... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getpwent... yes
checking for getgrent... yes
checking for lchown... yes
checking for setenv... yes
checking for sysconf... yes
checking for unsetenv... yes
checking for _SC_GETGR_R_SIZE_MAX... yes
checking for _SC_GETPW_R_SIZE_MAX... yes
checking return type of usleep... int
checking for RTLD_NEXT from dlfcn.h... yes
checking for RTLD_DEFAULT from dlfcn.h... yes
checking for RTLD_LOCAL from dlfcn.h... yes
checking for RTLD_GLOBAL from dlfcn.h... yes
checking for RTLD_NOW from dlfcn.h... yes
checking for dlopen in -ldl... yes
configure: creating ./config.status
config.status: creating unix.buildinfo
config.status: creating include/HsUnixConfig.h