diff options
author | clement <clement@FreeBSD.org> | 2005-12-05 01:13:42 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2005-12-05 01:13:42 +0800 |
commit | c722bc9dcc5a4c2079c1e7c9038c13f04462aee6 (patch) | |
tree | 3da55de12ebe94e6afa2567e472f23f39865e669 /Mk/bsd.apache.mk | |
parent | c4c701e28c4b8a4f837158b9dcbae4f562106516 (diff) | |
download | freebsd-ports-gnome-c722bc9dcc5a4c2079c1e7c9038c13f04462aee6.tar.gz freebsd-ports-gnome-c722bc9dcc5a4c2079c1e7c9038c13f04462aee6.tar.zst freebsd-ports-gnome-c722bc9dcc5a4c2079c1e7c9038c13f04462aee6.zip |
- export APACHEMODDIR and APACHEINCLUDEDIR to Makefile-land
- remove duplicated "code"
Diffstat (limited to 'Mk/bsd.apache.mk')
-rw-r--r-- | Mk/bsd.apache.mk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk index e1e66904e1aa..efdae066a0d5 100644 --- a/Mk/bsd.apache.mk +++ b/Mk/bsd.apache.mk @@ -289,23 +289,26 @@ IGNORE?= PREFIX must be egal to APXS_PREFIX. . endif .endif -.if ${APACHE_VERSION} == "20" +.if ${APACHE_VERSION} == 20 AP_BUILDEXT= la -PLIST_SUB+= APACHEMODDIR="libexec/apache2" \ - APACHEINCLUDEDIR="include/apache2" +APACHEMODDIR= libexec/apache2 +APACHEINCLUDEDIR=include/apache2 APACHE_PORT= www/apache${APACHE_VERSION} .elif ${APACHE_VERSION} >= 21 AP_BUILDEXT= la -PLIST_SUB+= APACHEMODDIR="libexec/apache${APACHE_VERSION}" \ - APACHEINCLUDEDIR="include/apache${APACHE_VERSION}" +APACHEMODDIR= libexec/apache${APACHE_VERSION} +APACHEINCLUDEDIR=include/apache${APACHE_VERSION} APACHE_PORT= www/apache${APACHE_VERSION} .else AP_BUILDEXT= so -PLIST_SUB+= APACHEMODDIR="libexec/apache" \ - APACHEINCLUDEDIR="include/apache" +APACHEMODDIR= libexec/apache +APACHEINCLUDEDIR=include/apache APACHE_PORT?= www/apache13 .endif +PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}" \ + APACHEINCLUDEDIR="${APACHEINCLUDEDIR}" + .for VAR in ${OVERRIDABLE_VARS} . if defined(AP${APACHE_VERSION}_${VAR}) ${VAR} =${AP${APACHE_VERSION}_${VAR}} |