+ 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/ftgl-2.1.3rc5nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ftgl-2.1.3rc5nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ftgl-2.1.3-rc5.tar.gz
=> Checksum SHA512 OK for ftgl-2.1.3-rc5.tar.gz
===> Installing dependencies for ftgl-2.1.3rc5nb2
=> 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.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
===> Overriding tools for ftgl-2.1.3rc5nb2
===> Extracting for ftgl-2.1.3rc5nb2
===> Patching for ftgl-2.1.3rc5nb2
=> Applying pkgsrc patches for ftgl-2.1.3rc5nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/ftgl/patches/patch-src_FTFont_FTBufferFont.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_FTFont_FTBufferFont.cpp,v 1.1 2019/09/08 20:41:10 nia Exp $
|
|return wcsdup if OPSYS != DragonFly.
|
|--- src/FTFont/FTBufferFont.cpp.orig	2008-06-12 09:52:03.000000000 +0000
|+++ src/FTFont/FTBufferFont.cpp
--------------------------
Patching file src/FTFont/FTBufferFont.cpp using Plan A...
Hunk #1 succeeded at 206.
done
===> Creating toolchain wrappers for ftgl-2.1.3rc5nb2
===> Configuring for ftgl-2.1.3rc5nb2
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... .auto/install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
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 g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for x86_64-sun-solaris2.11-gcc... gcc
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /home/pbulk/build/graphics/ftgl/work/.tools/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 how to run the C++ preprocessor... g++ -E
checking for x86_64-sun-solaris2.11-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
checking the maximum length of command line arguments... 786240
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether gcc and cc understand -c and -o together... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for wcsdup... yes
checking for strndup... yes
checking for X... disabled
checking for freetype-config... /home/pbulk/build/graphics/ftgl/work/.buildlink/bin/freetype-config
checking for FreeType -- version >= 9.0.3... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for OpenGL framework (Darwin-specific)... no
checking for GL library... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for GLU version >= 1.2... yes
checking for GLU library... yes
checking GL/glut.h usability... no
checking GL/glut.h presence... no
checking for GL/glut.h... no
checking GLUT/glut.h usability... no
checking GLUT/glut.h presence... no
checking for GLUT/glut.h... no
configure: WARNING: GLUT headers not available, example program won't be compiled.
checking for a TrueType font on the system... 
checking pkg-config is at least version 0.9.0... yes
checking for CPPUNIT... no
checking for doxygen... (cached) no
checking for pdflatex... no
checking for kpsewhich... no
checking for dvips... no
checking for convert... no
checking for epstopdf... no
configure: creating ./config.status
config.status: creating ftgl.pc
config.status: creating Makefile
config.status: creating demo/Makefile
config.status: creating docs/Makefile
config.status: creating docs/doxygen.cfg
config.status: creating msvc/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Done.

FTGL configured with the following settings:

             Prefix: /opt/pkg
           Binaries: /opt/pkg/bin
Configuration files: /opt/pkg/etc
         Data files: /opt/pkg/share

CC       = gcc
CXX      = g++
CFLAGS   = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
CXXFLAGS = -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2
CPPFLAGS = -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -I${top_srcdir}/src -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare
LDFLAGS  = -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64

---
./configure complete, type 'make' to begin building

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.