aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2003-11-15 18:37:41 +0800
committervanilla <vanilla@FreeBSD.org>2003-11-15 18:37:41 +0800
commitb9e4acc21c0c396acbdb481e5105850b6ba9a2ba (patch)
treed41d6d99972e01b1a34aa5abc07ee315a616be84 /irc/irssi/Makefile
parent5c5d77b55083944cb9f7dd919c6d2ec9f4cedca8 (diff)
downloadfreebsd-ports-gnome-b9e4acc21c0c396acbdb481e5105850b6ba9a2ba.tar.gz
freebsd-ports-gnome-b9e4acc21c0c396acbdb481e5105850b6ba9a2ba.tar.zst
freebsd-ports-gnome-b9e4acc21c0c396acbdb481e5105850b6ba9a2ba.zip
Add WITH_IPV6 knob.
Submitted by: Lukasz Wasikowski <idaho@kochana.org>
Diffstat (limited to 'irc/irssi/Makefile')
-rw-r--r--irc/irssi/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 07d05269b031..a5925c4ae82a 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/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