From 8208f795c292944027200d39530b624c4b57b9aa Mon Sep 17 00:00:00 2001 From: Akinori MUSHA 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(-) (limited to 'japanese/xchat') diff --git a/japanese/xchat/Makefile b/japanese/xchat/Makefile index 043fdef2d94c..9988373f16f1 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.2.3