diff options
author | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-09-07 22:12:10 +0000 |
commit | 2f517bc25c1dfd477877da169af65a161a689211 (patch) | |
tree | e65f4ff0343b21db10e01b4ee2a8fa56a72846a8 /chat/cgiirc | |
parent | 3045177d1ce3c7d590e5aaa6d5777696d6f55aa6 (diff) | |
download | pkgsrc-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 'chat/cgiirc')
-rw-r--r-- | chat/cgiirc/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chat/cgiirc/Makefile b/chat/cgiirc/Makefile index 3ed244c6072..f87f4186cbe 100644 --- a/chat/cgiirc/Makefile +++ b/chat/cgiirc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/06/30 10:06:36 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2007/09/07 22:12:10 jlam Exp $ DISTNAME= cgiirc-0.5.9 PKGREVISION= 1 @@ -12,16 +12,17 @@ COMMENT= Access IRC from a web browser USE_TOOLS+= perl:run NO_BUILD= YES -BUILD_DEFS+= USE_INET6 - CONF_FILES= ${PREFIX}/share/examples/cgiirc/cgiirc.conf \ ${PKG_SYSCONFDIR}/cgiirc.conf CONF_FILES+= ${PREFIX}/share/examples/cgiirc/cgiirc.config \ ${CGIIRC}/cgiirc.config -.include "../../mk/bsd.prefs.mk" +PKG_OPTIONS_VAR= PKG_OPTIONS.cgiirc +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" -.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss]) +.if !empty(PKG_OPTIONS:Minet6) DEPENDS+= p5-INET6-[0-9]*:../../net/p5-INET6 .endif |