From 7cb0619ff297809b7938c669b1ec182c5ff3b5dc Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 25 Feb 2001 19:02:30 +0000 Subject: Conditionalize the IPv6 support. (${OSVERSION} >= 400014) --- japanese/xchat/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/japanese/xchat/Makefile b/japanese/xchat/Makefile index 043fdef..9988373 100644 --- a/japanese/xchat/Makefile +++ b/japanese/xchat/Makefile @@ -8,7 +8,7 @@ PORTNAME= xchat PORTVERSION= 1.4.3 PORTREVISION= 2 -CATEGORIES= japanese irc gnome ipv6 +CATEGORIES= japanese irc gnome MASTER_SITES= http://xchat.org/files/source/1.4/ \ http://xchat.linuxpower.org/files/source/1.4/ @@ -27,7 +27,7 @@ PLIST= ${.CURDIR}/pkg-plist CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-japanese-conv --enable-ipv6 +CONFIGURE_ARGS= --enable-japanese-conv MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -liconv -lintl" @@ -44,6 +44,11 @@ CONFIGURE_ARGS+=--disable-python .include +.if ${OSVERSION} >= 400014 +CATEGORIES+= ipv6 +CONFIGURE_ARGS+=--enable-ipv6 +.endif + .if defined(WITH_SOCKS) # Assign with `+=' for slave ports BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 -- cgit v1.1