1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Add APACHEETCDIR to catch apache etc directory.

It can't be used with USE_APACHE=yes

Requested by:	pav, tmclaugh
This commit is contained in:
Clement Laforet 2006-05-11 15:21:22 +00:00
parent 2212408e69
commit 7e03ad6c0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162088

View File

@ -302,21 +302,25 @@ IGNORE?= PREFIX must be egal to APXS_PREFIX.
AP_BUILDEXT= la
APACHEMODDIR= libexec/apache2
APACHEINCLUDEDIR=include/apache2
APACHEETCDIR= etc/apache2
APACHE_PORT= www/apache${APACHE_VERSION}
.elif ${APACHE_VERSION} >= 21
AP_BUILDEXT= la
APACHEMODDIR= libexec/apache${APACHE_VERSION}
APACHEINCLUDEDIR=include/apache${APACHE_VERSION}
APACHEETCDIR= etc/apache${APACHE_VERSION}
APACHE_PORT= www/apache${APACHE_VERSION}
.else
AP_BUILDEXT= so
APACHEMODDIR= libexec/apache
APACHEINCLUDEDIR=include/apache
APACHEETCDIR= etc/apache
APACHE_PORT?= www/apache13
.endif
PLIST_SUB+= APACHEMODDIR="${APACHEMODDIR}" \
APACHEINCLUDEDIR="${APACHEINCLUDEDIR}"
APACHEINCLUDEDIR="${APACHEINCLUDEDIR}" \
APACHEETCDIR="${APACHEETCDIR}"
.for VAR in ${OVERRIDABLE_VARS}
. if defined(AP${APACHE_VERSION}_${VAR})