diff options
author | jlam <jlam@pkgsrc.org> | 2007-09-07 22:12:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-09-07 22:12:10 +0000 |
commit | a6528057d95199e0923e568235a5e7e885938dc1 (patch) | |
tree | e65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /security/putty | |
parent | bff458328b6e6f475335adef9ba607a77d0b2c9e (diff) | |
download | pkgsrc-a6528057d95199e0923e568235a5e7e885938dc1.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 'security/putty')
-rw-r--r-- | security/putty/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/security/putty/Makefile b/security/putty/Makefile index 8fdeaa0e319..0c1cb97bb04 100644 --- a/security/putty/Makefile +++ b/security/putty/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/03/21 13:18:45 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2007/09/07 22:12:22 jlam Exp $ # DISTNAME= putty-0.59 @@ -15,13 +15,16 @@ BUILD_DIRS= ${WRKSRC}/unix MAKE_FILE= Makefile.gtk MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} -.include "../../mk/bsd.prefs.mk" +PKG_OPTIONS_VAR= PKG_OPTIONS.putty +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" .if empty(OPSYS:MLinux) CFLAGS+= -DHAVE_NO_SETRESUID .endif -.if !empty(USE_INET6:M[Yy][Ee][Ss]) +.if !empty(PKG_OPTIONS:Minet6) CFLAGS+= -DIPV6 .endif |