summaryrefslogtreecommitdiffstats
path: root/irc/irssi-devel
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-11-15 10:37:41 +0000
committervanilla <vanilla@FreeBSD.org>2003-11-15 10:37:41 +0000
commitb9e4acc21c0c396acbdb481e5105850b6ba9a2ba (patch)
treed41d6d99972e01b1a34aa5abc07ee315a616be84 /irc/irssi-devel
parent5c5d77b55083944cb9f7dd919c6d2ec9f4cedca8 (diff)
downloadFreeBSD-ports-b9e4acc21c0c396acbdb481e5105850b6ba9a2ba.zip
FreeBSD-ports-b9e4acc21c0c396acbdb481e5105850b6ba9a2ba.tar.gz
Add WITH_IPV6 knob.
Submitted by: Lukasz Wasikowski <idaho@kochana.org>
Diffstat (limited to 'irc/irssi-devel')
-rw-r--r--irc/irssi-devel/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/irc/irssi-devel/Makefile b/irc/irssi-devel/Makefile
index 07d0526..a5925c4 100644
--- a/irc/irssi-devel/Makefile
+++ b/irc/irssi-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= irssi
PORTVERSION= 0.8.6
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES+= irc # `+=' is for slave ports
MASTER_SITES= http://irssi.org/files/
@@ -31,11 +31,14 @@ PLIST_SUB+= WITH_PROXY=""
PLIST_SUB+= WITH_PROXY="@comment "
.endif
-#.if ${OSVERSION} >= 400014
-#CONFIGURE_ARGS+= --enable-ipv6
-#.else
+if defined(WITH_IPV6)
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+CATEGORIES+= ipv6
+.endif
+.else
CONFIGURE_ARGS+= --disable-ipv6
-#.endif
+.endif
MAN1= irssi.1
OpenPOWER on IntegriCloud