=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for raine-0.96.7.tar.gz
=> Checksum SHA512 OK for raine-0.96.7.tar.gz
===> Installing dependencies for raine-0.96.7nb1
==========================================================================
The supported build options for raine are:

	debug

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

	PKG_OPTIONS.raine (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
raine-0.96.7nb1.  Their current value is shown below:

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

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua54
        * 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 glib2-tools-[0-9]*: found glib2-tools-2.80.0
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency perl>=5.0: found perl-5.38.2
=> Full dependency SDL2>=2.30.2nb1: found SDL2-2.30.3
=> Full dependency SDL2_image>=2.0.0: found SDL2_image-2.6.3nb3
=> Full dependency SDL2_ttf>=2.22.0nb2: found SDL2_ttf-2.22.0nb2
=> Full dependency curl>=8.4.0nb1: found curl-8.7.1
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.43
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for raine-0.96.7nb1
===> Extracting for raine-0.96.7nb1
===> Patching for raine-0.96.7nb1
=> Applying pkgsrc patches for raine-0.96.7nb1
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-aa
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.5 2024/03/22 09:00:43 nia Exp $
|
|Portable flags. Don't force strip binaries.
|
|--- makefile.orig	2024-01-24 09:14:16.000000000 +0000
|+++ makefile
--------------------------
Patching file makefile using Plan A...
Hunk #1 succeeded at 703.
Hunk #2 succeeded at 1510.
Hunk #3 succeeded at 1740.
Hunk #4 succeeded at 1754.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_games_default.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_games_default.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_games_default.c,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Ensure the correct history.h is included.
|
|--- source/games/default.c.orig	2024-03-22 08:26:12.307365827 +0000
|+++ source/games/default.c
--------------------------
Patching file source/games/default.c using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_games_pengo.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_games_pengo.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_games_pengo.c,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Ensure the correct history.h is included.
|
|--- source/games/pengo.c.orig	2024-01-24 09:14:16.000000000 +0000
|+++ source/games/pengo.c
--------------------------
Patching file source/games/pengo.c using Plan A...
Hunk #1 succeeded at 106.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_mini-unzip_ioapi.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_mini-unzip_ioapi.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_mini-unzip_ioapi.c,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|fopen64 is not available on non-Linux platforms in general.
|
|--- source/mini-unzip/ioapi.c.orig	2024-03-22 08:28:31.586891184 +0000
|+++ source/mini-unzip/ioapi.c
--------------------------
Patching file source/mini-unzip/ioapi.c using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_neocd_neocd.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_neocd_neocd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_neocd_neocd.c,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Ensure the correct history.h is included.
|
|--- source/neocd/neocd.c.orig	2024-03-22 08:07:00.627106993 +0000
|+++ source/neocd/neocd.c
--------------------------
Patching file source/neocd/neocd.c using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_dialogs_about.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_dialogs_about.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_sdl_dialogs_about.cpp,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Ensure the correct history.h is included.
|
|--- source/sdl/dialogs/about.cpp.orig	2024-01-24 09:14:16.000000000 +0000
|+++ source/sdl/dialogs/about.cpp
--------------------------
Patching file source/sdl/dialogs/about.cpp using Plan A...
Hunk #1 succeeded at 6.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_dialogs_controls.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_dialogs_controls.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_sdl_dialogs_controls.cpp,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Missing include for unlink(2).
|
|--- source/sdl/dialogs/controls.cpp.orig	2024-03-22 08:24:35.511525479 +0000
|+++ source/sdl/dialogs/controls.cpp
--------------------------
Patching file source/sdl/dialogs/controls.cpp using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_gui.cpp
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/emulators/raine/patches/patch-source_sdl_gui.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-source_sdl_gui.cpp,v 1.1 2024/03/22 09:00:43 nia Exp $
|
|Missing header for chdir(2)/unlink(2).
|Ensure the correct history.h is included.
|
|--- source/sdl/gui.cpp.orig	2024-01-24 09:14:16.000000000 +0000
|+++ source/sdl/gui.cpp
--------------------------
Patching file source/sdl/gui.cpp using Plan A...
Hunk #1 succeeded at 2.
done
===> Creating toolchain wrappers for raine-0.96.7nb1
/bin/ln -s /Users/pbulk/build/emulators/raine/work/.buildlink/lib/pkgconfig/lua-5.4.pc /Users/pbulk/build/emulators/raine/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for raine-0.96.7nb1
=> Substituting "paths" in source/raine.c
=> Replacing Perl interpreter in makedep.
WARNING: [replace-interpreter] Skipping non-existent file "makedep".
=> Checking for portability problems in extracted files