+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/sc-im-0.8.4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/sc-im-0.8.4/work.log
=> Checksum BLAKE2s OK for sc-im-0.8.4.tar.gz
=> Checksum SHA512 OK for sc-im-0.8.4.tar.gz
===> Installing dependencies for sc-im-0.8.4
==========================================================================
The supported build options for sc-im are:

	color lua threads x11 xls xlsx

The currently selected options are:

	color lua threads xls xlsx

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.sc-im (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
sc-im-0.8.4.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua54
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libxls>=1.6.1: found libxls-1.6.3
=> Full dependency libxlsxwriter>=1.2.0: found libxlsxwriter-1.2.0
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.10
=> Full dependency libzip>=1.11.2nb3: found libzip-1.11.3
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency minizip>=1.2.11: found minizip-1.3.1
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency readline>=2.2: found readline-8.2nb2
=> Full dependency xz>=5.0.0: found xz-5.8.1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for sc-im-0.8.4
===> Extracting for sc-im-0.8.4
===> Patching for sc-im-0.8.4
=> Applying pkgsrc patches for sc-im-0.8.4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/sc-im/patches/patch-src_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/sc-im/patches/patch-src_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile,v 1.5 2025/02/13 16:43:50 vins Exp $
|
|- Make libdl and curses flags overridable
|- Make color, threads and x11 support opt in so we can control it
|- Remove hardcoded paths for NetBSD
|
|--- src/Makefile.orig	2024-08-16 14:46:09.000000000 +0000
|+++ src/Makefile
--------------------------
Patching file src/Makefile using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 19.
Hunk #3 succeeded at 37.
Hunk #4 succeeded at 60.
Hunk #5 succeeded at 76.
Hunk #6 succeeded at 90.
Hunk #7 succeeded at 146.
Hunk #8 succeeded at 194.
done
===> Creating toolchain wrappers for sc-im-0.8.4
/usr/bin/ln -s /home/pbulk/build/math/sc-im/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/math/sc-im/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for sc-im-0.8.4
=> Replacing pkgsrc placeholders
=> Replacing bash interpreter in src/scopen.
INFO: [replace-interpreter] Nothing changed in src/scopen.
=> Checking for portability problems in extracted files