Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2004 00:00:54 GMT
From:      michael johnson <ahze@ahze.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/70059: [PATCH] devel/distcc: [enable ipv6]
Message-ID:  <200408130000.i7D00sWh089227@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/70059; it has been noted by GNATS.

From: michael johnson <ahze@ahze.net>
To: dom@helenmarks.co.uk, freebsd-gnats-submit@freebsd.org,
	Volker Stolz <vs@freebsd.org>
Cc:  
Subject: Re: ports/70059: [PATCH] devel/distcc: [enable ipv6]
Date: Thu, 12 Aug 2004 20:00:15 -0400

 I'm just shooting ideas up, but how about maybe something like the 
 following,..
 
 OPTIONS=	# leave blank to enable work around bsd.port.pre.mk
 
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} > 500000
 OPTIONS=	IPV6 "etc etc" off
 .endif
 
 
 Michael
 
 
 On Aug 12, 2004, at 10:56 AM, Volker Stolz wrote:
 
 > Looks like IPv6 won't work on 4.X:
 >
 > ===>  Building for distcc-2.16
 > cc -I/usr/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE -I./src 
 > -DSYSCONFDIR="\"/usr/local/etc\"" 
 > -DPKGDATADIR="\"/usr/local/share/distcc\"" -Isrc -I./lzo -O -pipe -g  
 > -W -Wall -Wimplicit -Wshadow -Wpointer-arith -Wcast-align 
 > -Wwrite-strings -Waggregate-return -Wstrict-prototypes 
 > -Wmissing-prototypes -Wnested-externs -o src/backoff.o -c 
 > src/backoff.c
 > In file included from src/backoff.c:43:
 > src/distcc.h:157: #error You can't use RFC2553 because you don't have 
 > a sockaddr_storage type
 > gmake: *** [src/backoff.o] Error 1
 > *** Error code 2
 >
 > Unluckily, there's no way to hide the option since we'd have to 
 > include bsd.port.pre.mk before
 > setting the OPTIONS to test OSVERSION. But bsd.port.pre.mk must be 
 > included after OPTIONS for
 > them to work. I'll adapt the comment. How about:
 >
 > IPV6 "Enable IPV6 (will fail on 4.X)" off
 >
 > Volker
 >
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130000.i7D00sWh089227>