summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-14 03:28:32 +0000
committerhans <hans@pkgsrc.org>2012-01-14 03:28:32 +0000
commitb0db8ab390ea381eed7b128d09a64000f91010cd (patch)
treedef09b69e7f13341157e668ddc92a313f9afc8cf /games
parent0f6f33e89df5a9a4870408487d89da65337ef394 (diff)
downloadpkgsrc-b0db8ab390ea381eed7b128d09a64000f91010cd.tar.gz
USE_TOOLS=unzip
Require flex>=2.5.35 by FLEX_REQD. Tested on NetBSD/i386 5.1.
Diffstat (limited to 'games')
-rw-r--r--games/warzone2100/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/games/warzone2100/Makefile b/games/warzone2100/Makefile
index 070c19b8dee..2c22c35f7c6 100644
--- a/games/warzone2100/Makefile
+++ b/games/warzone2100/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/01/14 02:09:36 hans Exp $
+# $NetBSD: Makefile,v 1.15 2012/01/14 03:28:32 hans Exp $
#
DISTNAME= warzone2100-2.2.2
@@ -10,14 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://wz2100.net/
COMMENT= Real-time strategy and real-time tactics hybrid computer game
-BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= pkg-config bison msgfmt intltool gmake gawk flex zip
+USE_TOOLS+= pkg-config bison msgfmt intltool gmake gawk flex unzip zip
+FLEX_REQD= 2.5.35
CONFIGURE_ARGS+= --with-distributor=pkgsrc
@@ -28,11 +28,6 @@ post-build:
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
-# API depends is not enough to pull in flex; NetBSD one is 2.5.4 which
-# is too old
-_TOOLS_USE_PKGSRC.flex= yes
-BUILDLINK_API_DEPENDS.flex+= flex>=2.5.35
-.include "../../devel/flex/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/physfs/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"