diff options
author | wiz <wiz@pkgsrc.org> | 2005-05-31 22:00:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-05-31 22:00:37 +0000 |
commit | 7cbcc9b803422b55c003c2f25e9a1e362625efaf (patch) | |
tree | 8989b6381b9d578f0deaa7cf0acb8e09db7c354f /chat | |
parent | 702b66ab7e85cf001fd86a863363d159d98b76ef (diff) | |
download | pkgsrc-7cbcc9b803422b55c003c2f25e9a1e362625efaf.tar.gz |
Convert to options framework.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/ninja/Makefile | 8 | ||||
-rw-r--r-- | chat/ninja/options.mk | 10 |
2 files changed, 12 insertions, 6 deletions
diff --git a/chat/ninja/Makefile b/chat/ninja/Makefile index 7fbffe71ad2..525763d98ad 100644 --- a/chat/ninja/Makefile +++ b/chat/ninja/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2005/05/22 20:07:43 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2005/05/31 22:00:37 wiz Exp $ # DISTNAME= ninja-1.5.8.1 @@ -12,10 +12,6 @@ COMMENT= Another IRC client based on ircII GNU_CONFIGURE= YES USE_TOOLS+= gmake -BUILD_DEFS+= USE_INET6 - -.if defined(USE_INET6) && ${USE_INET6} == "YES" -CONFIGURE_ARGS+= --enable-ipv6 -.endif +.include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/chat/ninja/options.mk b/chat/ninja/options.mk new file mode 100644 index 00000000000..612d5285e0f --- /dev/null +++ b/chat/ninja/options.mk @@ -0,0 +1,10 @@ +# $NetBSD: options.mk,v 1.1 2005/05/31 22:00:37 wiz Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.ninja +PKG_SUPPORTED_OPTIONS= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif |