From 3986ae1fe8e7119a0c248cf08a2dbc5a88a2375a Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Wed, 18 Aug 2004 07:41:13 +0000 Subject: [PATCH] Add option to enable ipv6 on 5.X PR: ports/70059 Submitted by: Michael Johnson Approved by: maintainer --- devel/distcc/Makefile | 9 +++++++-- 1 file 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 @@ -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 \