diff options
author | clement <clement@FreeBSD.org> | 2004-07-13 17:32:44 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-07-13 17:32:44 +0800 |
commit | 3bb297de5744ab3be3cfff7b5aac20cec79d5acb (patch) | |
tree | 6dace4ddddc3d276683a7ff19dc59d26ff99d979 /www/apache2/Makefile | |
parent | 33417460745d05559ed280e4b5c560f7b017a8df (diff) | |
download | freebsd-ports-gnome-3bb297de5744ab3be3cfff7b5aac20cec79d5acb.tar.gz freebsd-ports-gnome-3bb297de5744ab3be3cfff7b5aac20cec79d5acb.tar.zst freebsd-ports-gnome-3bb297de5744ab3be3cfff7b5aac20cec79d5acb.zip |
- Fix hostname resolution if IPv4 are mapped. [1]
- Add WITHOUT_V4MAPPED knob and explicitly set --disable-v4-mapped
if WITHOUT_V4MAPPED or WITH_IPV6_V6ONLY
Also submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> [1]
Diffstat (limited to 'www/apache2/Makefile')
-rw-r--r-- | www/apache2/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 69ceaf6db346..3e06a63f474c 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -77,7 +77,9 @@ WITH_HTTP_PORT?= 80 .if defined(WITHOUT_IPV6) CONFIGURE_ARGS+= --disable-ipv6 -.elif !defined(WITH_IPV6_V6ONLY) +.elif defined(WITH_IPV6_V6ONLY) && defined(WITHOUT_V4MAPPED) +CONFIGURE_ARGS+= --disable-v4-mapped +.else CONFIGURE_ARGS+= --enable-v4-mapped .endif |