=> Checksum BLAKE2s OK for luasystem-0.2.1.tar.gz
=> Checksum SHA512 OK for luasystem-0.2.1.tar.gz
===> Installing dependencies for lua51-system-0.2.1
==========================================================================
The following variables will affect the build process of this package,
lua51-system-0.2.1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = editline

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua51
        * READLINE_TYPE = editline
        * 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 nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency lua51>=5.1.1<5.2: found lua51-5.1.5nb3
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
===> Overriding tools for lua51-system-0.2.1
===> Extracting for lua51-system-0.2.1
===> Patching for lua51-system-0.2.1
=> Applying pkgsrc patches for lua51-system-0.2.1
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/lua-system/patches/patch-src_Makefile
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/devel/lua-system/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.1 2020/07/08 12:15:08 nia Exp $
|
|- macOS proper link flags for pkgsrc integration
|- Respect environment variables
|
|--- src/Makefile.orig	2016-10-03 06:43:39.000000000 +0000
|+++ src/Makefile
--------------------------
Patching file src/Makefile using Plan A...
Hunk #1 succeeded at 131.
Hunk #2 succeeded at 156.
Hunk #3 succeeded at 208.
done
===> Creating toolchain wrappers for lua51-system-0.2.1
===> Configuring for lua51-system-0.2.1