mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Conditionalize the IPv6 support. (${OSVERSION} >= 400014)
This commit is contained in:
parent
db9acc6417
commit
8208f795c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38703
@ -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 <bsd.port.pre.mk>
|
||||
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user