aboutsummaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-10-14 06:18:06 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-10-14 06:18:06 +0000
commita64756050c2a9e7d582826d478e0b1422ab1b486 (patch)
treec18ffa4efc2e1ac159f6fc0c38da44afc035ba31 /lang/php53
parent03f9f0e84bfbcbae09a9904da4022fbd4678d2af (diff)
downloadports-a64756050c2a9e7d582826d478e0b1422ab1b486.tar.gz
ports-a64756050c2a9e7d582826d478e0b1422ab1b486.zip
Autoselect APACHE2 option if WITH_APACHE2 is defined.
Submitted by: Rick van der Zwet <rick@wzoeterwoude.net>
Notes
Notes: svn path=/head/; revision=145338
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/php53/Makefile b/lang/php53/Makefile
index 1674ca5c05ac..17a4f807600a 100644
--- a/lang/php53/Makefile
+++ b/lang/php53/Makefile
@@ -74,8 +74,12 @@ OPTIONS= REDIRECT "Enable force-cgi-redirect support" off \
PATHINFO "Enable path-info-check support" on
.endif
.if defined(WITH_APACHE)
+.if defined(WITH_APACHE2)
+OPTIONS= APACHE2 "Use apache 2.x instead of apache 1.3.x" on
+.else
OPTIONS= APACHE2 "Use apache 2.x instead of apache 1.3.x" off
.endif
+.endif
OPTIONS+= DEBUG "Enable debug" off \
MULTIBYTE "Enable zend multibyte support" off \
IPV6 "Enable ipv6 support" on