aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.apache.mk
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 17:13:42 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 17:13:42 +0000
commit03d42e481ca0cca38d4b043f94db61bb8cab6bb6 (patch)
treef3a6b1ecbb640ba11a56af60fbb321ea848614fe /Mk/bsd.apache.mk
parent261104120b353a872f1e4255ec49b226f347e07a (diff)
downloadports-03d42e481ca0cca38d4b043f94db61bb8cab6bb6.tar.gz
ports-03d42e481ca0cca38d4b043f94db61bb8cab6bb6.zip
Notes
Diffstat (limited to 'Mk/bsd.apache.mk')
-rw-r--r--Mk/bsd.apache.mk17
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}}