summaryrefslogtreecommitdiff
path: root/chat/bitlbee/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-12-27 23:35:41 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-12-27 23:35:41 +0000
commit23deef7fff0fa9a810d126bfe31fc0cdf3dc8b6b (patch)
treee52ab6a23535caff0735a814d7a97e6673a937b1 /chat/bitlbee/Makefile
parent9091928ff318b5c890d1a76861f87b46d8fd8ede (diff)
downloadpkgsrc-23deef7fff0fa9a810d126bfe31fc0cdf3dc8b6b.tar.gz
Add an option for the configure script to enable/disable IPv6 support
(by default disabled in configure, but enabled via bsd.options.mk), you can enable/disable it via "PKG_OPTIONS.bitlbee=-inet6", this closes PR pkg/27691 by Georg Schwarz. Bump PKGREVISION.
Diffstat (limited to 'chat/bitlbee/Makefile')
-rw-r--r--chat/bitlbee/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/chat/bitlbee/Makefile b/chat/bitlbee/Makefile
index a7c96d8ca4d..49f9c76ad6a 100644
--- a/chat/bitlbee/Makefile
+++ b/chat/bitlbee/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/10/25 09:37:44 xtraeme Exp $
+# $NetBSD: Makefile,v 1.16 2004/12/27 23:35:41 xtraeme Exp $
#
DISTNAME= bitlbee-0.91
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= http://get.bitlbee.org/src/
@@ -47,6 +48,14 @@ do-install:
.endfor
.undef f
+PKG_OPTIONS_VAR= PKG_OPTIONS.bitlbee
+PKG_SUPPORTED_OPTIONS= inet6
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --ipv6=1
+.endif
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"