aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-07-09 16:41:38 +0000
committerClement Laforet <clement@FreeBSD.org>2004-07-09 16:41:38 +0000
commitfcd42c3e27c8290606b33cd48a7e38e5f06c8e3d (patch)
tree566899ebf485773254359c037e2c41b0426f1920 /www
parent11af7f86869d27e62dd5519b41aad197f4f41ee0 (diff)
downloadports-fcd42c3e27c8290606b33cd48a7e38e5f06c8e3d.tar.gz
ports-fcd42c3e27c8290606b33cd48a7e38e5f06c8e3d.zip
- Add WITHOUT_IPV6 knob to workaround problem with IP resolution
when --enable-v4-mapped is used (default). Use WITHOUT_IPV6 knob if you have problem with "HostnameLookup On" on IPv4-only server(s). I hope I can provide a real fix soon.
Notes
Notes: svn path=/head/; revision=113285
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile4
-rw-r--r--www/apache20/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index cbee721de6f5..69ceaf6db346 100644
--- a/www/apache2/Makefile
+++ b/www/apache2/Makefile
@@ -75,7 +75,9 @@ WITH_MPM?= prefork # or worker, perchild, threadpool
WITH_HTTP_PORT?= 80
-.if !defined(WITH_IPV6_V6ONLY)
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.elif !defined(WITH_IPV6_V6ONLY)
CONFIGURE_ARGS+= --enable-v4-mapped
.endif
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index cbee721de6f5..69ceaf6db346 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -75,7 +75,9 @@ WITH_MPM?= prefork # or worker, perchild, threadpool
WITH_HTTP_PORT?= 80
-.if !defined(WITH_IPV6_V6ONLY)
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.elif !defined(WITH_IPV6_V6ONLY)
CONFIGURE_ARGS+= --enable-v4-mapped
.endif