summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-05-22 14:51:54 +0000
committerClement Laforet <clement@FreeBSD.org>2005-05-22 14:51:54 +0000
commitd22ffe1146f452b2dfd8d77b507a8d76297bb692 (patch)
tree68123283ba60f652433479b2648c760055b42975 /www
parent- Fix the build (wxgtk24 port no longer installs wx-config). (diff)
- Fix weird logic for detection apache13 with ipv6
Noticed by: Tarc <tarc@po.cs.msu.su> PR: ports/78451 pointy hat to: clement
Notes
Notes: svn path=/head/; revision=135868
Diffstat (limited to 'www')
-rw-r--r--www/mod_perl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/mod_perl/Makefile b/www/mod_perl/Makefile
index c668940069ed..462e1ab203a5 100644
--- a/www/mod_perl/Makefile
+++ b/www/mod_perl/Makefile
@@ -40,8 +40,13 @@ MAN3= Apache.3 Apache::Constants.3 Apache::ExtUtils.3 \
Apache::PerlSections.3 cgi_to_mod_perl.3 \
mod_perl_cvs.3 mod_perl_method_handlers.3 mod_perl_traps.3 \
mod_perl_tuning.3
+.if defined(APACHE_PORT)
+. if ${APACHE_PORT:Mipv6} != ""
+WITH_APACHE_IPV6= YES
+. endif
+.endif
-.if defined(WITH_APACHE_IPV6) && ${APACHE_PORT:Mipv6}
+.if defined(WITH_APACHE_IPV6)
CFLAGS+= -DAPACHE6
.endif