aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-08-18 15:41:13 +0800
committervs <vs@FreeBSD.org>2004-08-18 15:41:13 +0800
commitbe12095564eccace1906b92d2f8312e12df94c79 (patch)
tree3b61a8609626dcb90f46fe4c92d04e1416ca39b9 /devel
parentf1ea49df55ea7d00f733438b9fea73bdceff8283 (diff)
downloadfreebsd-ports-gnome-be12095564eccace1906b92d2f8312e12df94c79.tar.gz
freebsd-ports-gnome-be12095564eccace1906b92d2f8312e12df94c79.tar.zst
freebsd-ports-gnome-be12095564eccace1906b92d2f8312e12df94c79.zip
Add option to enable ipv6 on 5.X
PR: ports/70059 Submitted by: Michael Johnson Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/distcc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index 9e901196bcfb..9561d08318b6 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= distcc
PORTVERSION= 2.16
-CATEGORIES= devel
+CATEGORIES= devel ipv6
MASTER_SITES= http://distcc.samba.org/ftp/distcc/
MAINTAINER= dom@helenmarks.co.uk
@@ -24,7 +24,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
DISTCCD_PIDFILE=/var/run/distccd.pid
OPTIONS= GNOME "Build GUI monitor based on GNOME" Off \
- GTK "Build GUI monitor based on GTK" Off
+ GTK "Build GUI monitor based on GTK" Off \
+ IPV6 "Enable IPV6 (not available on 4.X)" Off
.include <bsd.port.pre.mk>
@@ -42,6 +43,10 @@ PLIST_SUB+= WITH_GNOME=""
PLIST_SUB+= WITH_GNOME="@comment "
.endif
+.if ( ${OSVERSION} >= 500000 ) && defined(WITH_IPV6)
+CONFIGURE_ARGS+= --enable-rfc2553
+.endif
+
MAN1= distcc.1 distccd.1
DOC_FILES= AUTHORS INSTALL NEWS README \
doc/protocol-1.txt doc/status-1.txt \