summaryrefslogtreecommitdiff
path: root/games/quake6
diff options
context:
space:
mode:
authorjlam <jlam>2007-09-07 22:12:10 +0000
committerjlam <jlam>2007-09-07 22:12:10 +0000
commit2f517bc25c1dfd477877da169af65a161a689211 (patch)
treee65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /games/quake6
parent3045177d1ce3c7d590e5aaa6d5777696d6f55aa6 (diff)
downloadpkgsrc-2f517bc25c1dfd477877da169af65a161a689211.tar.gz
Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
Diffstat (limited to 'games/quake6')
-rw-r--r--games/quake6/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/quake6/Makefile b/games/quake6/Makefile
index de57cb5e46c..d45967ece7b 100644
--- a/games/quake6/Makefile
+++ b/games/quake6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/02/20 12:40:14 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2007/09/07 22:12:11 jlam Exp $
DISTNAME= quake-v6-bsd-kame
PKGNAME= quake6-0.0
@@ -19,17 +19,13 @@ post-extract:
cd ${WRKSRC}; ${RM} config.cache
USE_TOOLS+= gmake
+USE_FEATURES= inet6
GNU_CONFIGURE= yes
-# This pkg can be built on USE_INET6 platform only
-BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
-.if !(defined(USE_INET6) && ${USE_INET6} == "YES")
-PKG_FAIL_REASON+= "${PKGNAME} requires IPv6 support"
-.endif
# "bindir" setting is very non-standard for GNU autoconf
-CONFIGURE_ARGS+=--disable-asmopt --bindir=/bin
+CONFIGURE_ARGS+= --disable-asmopt --bindir=/bin
BUILDLINK_DEPMETHOD.libXt?= build