=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for stratagus-2.1-src.tar.gz
=> Checksum RMD160 OK for stratagus-2.1-src.tar.gz
===> Installing dependencies for stratagus-2.1nb17
==========================================================================
The following variables will affect the build process of this package,
stratagus-2.1nb17.  Their current value is shown below:

        * READLINE_DEFAULT = editline

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

        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-3.82nb7
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency dri2proto>=2.0: found dri2proto-2.8
=> Build dependency glproto>=1.4.6: found glproto-1.4.16
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency xproto>=7.0.9: found xproto-7.0.24nb1
=> Build dependency fixesproto>=3.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0: found xextproto-7.2.1
=> Build dependency inputproto>=1.4: found inputproto-2.3
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.6
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.8
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1
=> Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency randrproto>=1.2.0: found randrproto-1.4.0
=> Full dependency flac>=1.1.3nb1: found flac-1.3.0
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.1
=> Full dependency libmad>=0.15.1bnb1: found libmad-0.15.1bnb1
=> Full dependency libmikmod>=3.2.0: found libmikmod-3.2.0
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.3
=> Full dependency SDL>=1.2.10: found SDL-1.2.15nb7
=> Full dependency png>=1.6.0nb1: found png-1.6.3
=> Full dependency lua>=5.2.0: found lua-5.2.2
===> Overriding tools for stratagus-2.1nb17
===> Extracting for stratagus-2.1nb17
===> Patching for stratagus-2.1nb17
=> Applying pkgsrc patches for stratagus-2.1nb17
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2004/08/17 12:29:14 wiz Exp $
|
|--- src/stratagus/stratagus.c.orig	2004-06-26 01:22:34.000000000 +0200
|+++ src/stratagus/stratagus.c
--------------------------
Patching file src/stratagus/stratagus.c using Plan A...
Hunk #1 succeeded at 341.
done
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.2 2006/08/14 22:37:57 wiz Exp $
|
|--- configure.orig	2004-07-02 01:46:35.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3050.
Hunk #2 succeeded at 5548.
Hunk #3 succeeded at 5760.
done
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.1 2006/08/14 22:37:57 wiz Exp $
|
|--- src/stratagus/script.c.orig	2004-06-26 22:38:18.000000000 +0000
|+++ src/stratagus/script.c
--------------------------
Patching file src/stratagus/script.c using Plan A...
Hunk #1 succeeded at 325.
done
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-ad
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2006/09/20 15:05:57 joerg Exp $
|
|--- Makefile.orig	2006-09-19 21:32:43.000000000 +0200
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 115.
done
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-af
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2007/01/12 20:32:48 wiz Exp $
|
|--- src/sound/flac.c.orig	2004-06-25 23:22:33.000000000 +0000
|+++ src/sound/flac.c
--------------------------
Patching file src/sound/flac.c using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 95.
Hunk #3 succeeded at 351.
done
=> Verifying /data/pkgsrc/games/stratagus/patches/patch-src_video_png.c
=> Applying pkgsrc patch /data/pkgsrc/games/stratagus/patches/patch-src_video_png.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_video_png.c,v 1.2 2011/08/05 00:56:37 wiz Exp $
|
|Fix build with png-1.5.
|https://bugs.launchpad.net/stratagus/+bug/821210
|
|--- src/video/png.c.orig	2004-06-26 22:38:20.000000000 +0000
|+++ src/video/png.c
--------------------------
Patching file src/video/png.c using Plan A...
Hunk #1 succeeded at 133.
Hunk #2 succeeded at 212.
Hunk #3 succeeded at 224.
Hunk #4 succeeded at 270.
Hunk #5 succeeded at 336.
done
===> Creating toolchain wrappers for stratagus-2.1nb17
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/scratch/games/stratagus/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /scratch/games/stratagus/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for stratagus-2.1nb17
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for x86_64--netbsd-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 ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for sdl-config... sdl-config
checking for main in -lbz2... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking mikmod.h usability... yes
checking mikmod.h presence... yes
checking for mikmod.h... yes
checking for lua-config... no
checking for lua-config50... no
checking for luaconfig5.0... no
checking for lua_getfenv in -llua... no
checking for lua_setfenv in -llua50... no
checking for lua_setfenv in -llua5.0... no
configure: error: Lua5 is required
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/games/stratagus
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/games/stratagus
