summaryrefslogtreecommitdiff
path: root/irc/irssi/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-22 19:50:26 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-22 19:50:26 +0000
commit9fb8013f473ee8ad4e33597e1972dbe46e4f7f26 (patch)
tree0d0c1e2638d70a3c8bb7dd55a4a00c0133ecb3a9 /irc/irssi/Makefile
parentSupport IPv6. (diff)
Fix checksum and support IPv6.
PR: 16200 Submitted by: Heikki Paatela <paatela@st.jyu.fi>
Notes
Notes: svn path=/head/; revision=24945
Diffstat (limited to 'irc/irssi/Makefile')
-rw-r--r--irc/irssi/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 50b0c6ebc2dd..4d7793ea1719 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -7,7 +7,7 @@
#
DISTNAME= irssi-0.7.22
-CATEGORIES= irc
+CATEGORIES= irc ipv6
MASTER_SITES= http://xlife.dhs.org/irssi/files/
MAINTAINER= jim@FreeBSD.org
@@ -33,6 +33,14 @@ CONFIGURE_ARGS= --without-pthreads --without-socks --with-textui \
--with-proplist=${LOCALBASE} --without-servertest \
--disable-nls
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
.if defined(USE_GNOME)
CONFIGURE_ARGS+= --with-gnome
.if defined(USE_PANEL)
@@ -47,4 +55,4 @@ CONFIGURE_ARGS+= --without-gnome
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>