diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-10-14 06:18:06 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-10-14 06:18:06 +0000 |
commit | a64756050c2a9e7d582826d478e0b1422ab1b486 (patch) | |
tree | c18ffa4efc2e1ac159f6fc0c38da44afc035ba31 /lang | |
parent | - create slave port for openssl 0.9.7 (diff) |
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')
-rw-r--r-- | lang/php4/Makefile | 4 | ||||
-rw-r--r-- | lang/php5/Makefile | 4 | ||||
-rw-r--r-- | lang/php53/Makefile | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 8d8d32f7fe2b..c4211f81b0bf 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -69,8 +69,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 \ diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 1674ca5c05ac..17a4f807600a 100644 --- a/lang/php5/Makefile +++ b/lang/php5/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 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 |