diff options
author | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
commit | 8fb7d902eedfbb493ada3287ea8f957d43e32ae3 (patch) | |
tree | e65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /games/gtetrinet | |
parent | 080f1d43dd82349717f70720539e3bd583864e4a (diff) | |
download | pkgsrc-8fb7d902eedfbb493ada3287ea8f957d43e32ae3.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/gtetrinet')
-rw-r--r-- | games/gtetrinet/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile index 40f21dbfb2e..fe49f75d60a 100644 --- a/games/gtetrinet/Makefile +++ b/games/gtetrinet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2007/06/05 05:37:26 wiz Exp $ +# $NetBSD: Makefile,v 1.39 2007/09/07 22:12:11 jlam Exp $ # DISTNAME= gtetrinet-0.7.11 @@ -15,14 +15,15 @@ USE_DIRS+= gnome2-1.5 USE_TOOLS+= gmake intltool msgfmt pkg-config USE_PKGLOCALEDIR= YES -BUILD_DEFS+= USE_INET6 MAKE_FLAGS+= gamesdir=${PREFIX}/bin MAKE_FLAGS+= schemadir=${PREFIX}/share/gconf/schemas -.include "../../mk/bsd.prefs.mk" +PKG_OPTIONS_VAR= PKG_OPTIONS.gtetrinet +PKG_SUPPORTED_OPTIONS= inet6 -# IPv6 support -.if defined(USE_INET6) && ${USE_INET6} == YES +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .endif |