aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/Makefile
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-07-10 00:41:38 +0800
committerclement <clement@FreeBSD.org>2004-07-10 00:41:38 +0800
commit0177d4de3b1affa39fefc1c1acd851c5257bc5d4 (patch)
tree9b31c645b4855c45c707d3845e1a161088d7c5d2 /www/apache20/Makefile
parentb72e4860cc8b4af242359ed9a128c789cb294e5a (diff)
downloadfreebsd-ports-graphics-0177d4de3b1affa39fefc1c1acd851c5257bc5d4.tar.gz
freebsd-ports-graphics-0177d4de3b1affa39fefc1c1acd851c5257bc5d4.tar.zst
freebsd-ports-graphics-0177d4de3b1affa39fefc1c1acd851c5257bc5d4.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.
Diffstat (limited to 'www/apache20/Makefile')
-rw-r--r--www/apache20/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index cbee721de6f..69ceaf6db34 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