diff options
author | Clement Laforet <clement@FreeBSD.org> | 2005-12-03 21:28:41 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2005-12-03 21:28:41 +0000 |
commit | b7e91940cc124f501b762bc08eac4ea292284f4b (patch) | |
tree | 4abbf53c63838d7a093bc522bddeddce7076982e /Mk/bsd.apache.mk | |
parent | 7327110b07d3da8dccdb15b2d370fd928bd82135 (diff) | |
download | ports-b7e91940cc124f501b762bc08eac4ea292284f4b.tar.gz ports-b7e91940cc124f501b762bc08eac4ea292284f4b.zip |
Notes
Diffstat (limited to 'Mk/bsd.apache.mk')
-rw-r--r-- | Mk/bsd.apache.mk | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk index 5f7c906b1412..f6c43b68aa33 100644 --- a/Mk/bsd.apache.mk +++ b/Mk/bsd.apache.mk @@ -12,8 +12,8 @@ # # Variables definition # USE_APACHE: Call this script. Values can be: -# <version>: 1.3/13/2.0/20/2.1/1.3+/2.0+/2.1+ -# common*: common13, common20 and common21 +# <version>: 1.3/13/2.0/20/2.1/2.2/1.3+/2.0+/2.1+/2.2+ +# common*: common13, common20, common21 and common22 # # # @@ -23,7 +23,7 @@ USE_APACHE=yes # Print warnings _ERROR_MSG= : Error from bsd.apache.mk. -APACHE_SUPPORTED_VERSION= 13 20 21 +APACHE_SUPPORTED_VERSION= 13 20 21 22 .if ${USE_APACHE:Mcommon*} != "" AP_PORT_IS_SERVER= YES .elif ${USE_APACHE:L} == apr @@ -98,6 +98,17 @@ CONFIGURE_ARGS+= --disable-authn-file --disable-authn-default \ --disable-cgi --disable-negotiation --disable-dir \ --disable-imagemap --disable-actions --disable-userdir \ --disable-alias +.elif ${USE_APACHE} == common22 +CONFIGURE_ARGS+= --disable-authn-file --disable-authn-default \ + --disable-authz-host --disable-authz-groupfile \ + --disable-authz-user --disable-authz-default \ + --disable-auth-basic --disable-charset-lite \ + --disable-include --disable-log-config --disable-env \ + --disable-setenvif --disable-mime --disable-status \ + --disable-autoindex --disable-asis --disable-cgid \ + --disable-cgi --disable-negotiation --disable-dir \ + --disable-imagemap --disable-actions --disable-userdir \ + --disable-alias .endif .if defined(WITH_MODULES) @@ -285,7 +296,7 @@ PLIST_SUB+= APACHEMODDIR="libexec/apache2" \ # XXX We postpone www/apache2 => www/apache20 migration #APACHE_PORT= www/apache${APACHE_VERSION} APACHE_PORT= www/apache2 -.elif ${APACHE_VERSION} == "21" +.elif ${APACHE_VERSION} >= "21" AP_BUILDEXT= la PLIST_SUB+= APACHEMODDIR="libexec/apache${APACHE_VERSION}" \ APACHEINCLUDEDIR="include/apache${APACHE_VERSION}" |