Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Sep 2012 18:53:42 +0900
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        olli hauer <ohauer@gmx.de>
Cc:        svn-ports-head@FreeBSD.org, Olli Hauer <ohauer@FreeBSD.org>, svn-ports-all@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org>, ports-committers@FreeBSD.org
Subject:   Re: svn commit: r303550 - in head: Mk devel/apr1 devel/apr1/files www/apache22 www/apache22-event-mpm www/apache22-itk-mpm www/apache22-peruser-mpm www/apache22-worker-mpm www/apache22/files
Message-ID:  <ygey5krjuu1.wl%ume@mahoroba.org>
In-Reply-To: <50447ADD.3050108@gmx.de>
References:  <201209021431.q82EVxjW017243@svn.freebsd.org> <yge1uijlc8u.wl%ume@mahoroba.org> <5044745F.9010903@gmx.de> <ygezk57jvsz.wl%ume@mahoroba.org> <50447ADD.3050108@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Mon, 03 Sep 2012 11:39:41 +0200
>>>>> olli hauer <ohauer@gmx.de> said:

ohauer> On 2012-09-03 11:32, Hajimu UMEMOTO wrote:
> Hi,
> 
>>>>>> On Mon, 03 Sep 2012 11:11:59 +0200
>>>>>> olli hauer <ohauer@gmx.de> said:
> 
>> I used to specify WITHOUT_IPV6=YES in my /etc/make.conf.  But, now, it
>> is no effect.  I tried apache22_SET+=IPV6_V6ONLY and
>> OPTIONS_SET+=IPV6_V6ONLY without success.
>> Any idea?
> 
> ohauer> If you had until now WITHOUT_IPV6 in your make.conf, then you have to specify now
> ohauer> (Do you really want to build for IPv4 only?)
> 
> ohauer> apache22_SET+=IPV4_ONLY
> ohauer> apache22_UNSET+=IPV6
> 
> ohauer> The dedicated SET and UNSET is needed since I convert the three command args into
> ohauer> a OPTIONS_MULTI directive.
> 
> Oops, I mean WITH_IPV6_V6ONLY=YES.  I did copy&paste accidentally. X-(
> There was the knob.  But, it was not in OPTIONS.
> 

ohauer> This is more or less the same, just unset IPV6 (which is set per default) and the set IPV6_ONLY

ohauer> apache22_UNSET+=IPV6
ohauer> apache22_SET+=IPV6_ONLY

ohauer> This should work now even on a IPv6 only machine (Kernel build with IPv6 support only) with the help
ohauer> of the extra-patch-server__config.c patch (provided by Curtis Villamizar)

ohauer> One correction, the INET binding was converted to an OPTIONS_SINGLE and not MULTI directive.

No, I don't want to disable IPv4 (IPV6_ONLY) but want to disable use
of IPv4-mapped IPv6 address (IPV6_V6ONLY).
I wish to specify the option for the following lines in
Makefile.modules

.  if ${PORT_OPTIONS:MIPV6_V6ONLY}
CONFIGURE_ARGS+=	--disable-v4-mapped
.  else
CONFIGURE_ARGS+=	--enable-v4-mapped
.  endif

BTW, I cannot see ${PORT_OPTIONS:MIPV6_ONLY} nor
${PORT_OPTIONS:MIPV4_ONLY} in Makefile*.

Sincerely,

--
Hajimu UMEMOTO
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygey5krjuu1.wl%ume>