aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache20/Makefile.modules.3rd
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-09-03 20:41:17 +0800
committerclement <clement@FreeBSD.org>2004-09-03 20:41:17 +0800
commit536c38cab57cbb25e44cc9ae87c9b82afa24a604 (patch)
tree08d25852b8ad7f325e2f4a3961aa3027f9610982 /www/apache20/Makefile.modules.3rd
parent70d35b9e3be22adc69abc7e6c0a9623321f2e4a7 (diff)
downloadfreebsd-ports-gnome-536c38cab57cbb25e44cc9ae87c9b82afa24a604.tar.gz
freebsd-ports-gnome-536c38cab57cbb25e44cc9ae87c9b82afa24a604.tar.zst
freebsd-ports-gnome-536c38cab57cbb25e44cc9ae87c9b82afa24a604.zip
- make AP_GENPLIST pseudo PREFFIX-safe until I find a correct fix.
Discussed with: eik (long time ago)
Diffstat (limited to 'www/apache20/Makefile.modules.3rd')
-rw-r--r--www/apache20/Makefile.modules.3rd10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/apache20/Makefile.modules.3rd b/www/apache20/Makefile.modules.3rd
index c5214a4f6f0c..ccd62d3ddb9c 100644
--- a/www/apache20/Makefile.modules.3rd
+++ b/www/apache20/Makefile.modules.3rd
@@ -1,4 +1,4 @@
-# Third party modules hack
+# Makefile.modules.3rd
#
# $FreeBSD$
#
@@ -20,6 +20,9 @@ OVERRIDABLE_VARS= SRC_FILE MODULENAME SHORTMODNAME WRKSRC \
.if exists(${APXS})
APXS_PREFIX!= ${APXS} -q prefix
+. if defined(AP_GENPLIST) && ${APXS_PREFIX} != ${PREFIX}
+IGNORE= PREFIX must be egal to APXS_PREFIX.
+. endif
.else
APXS_PREFIX= ${APXS:S/\/sbin\/apxs//}
.endif
@@ -95,11 +98,10 @@ ap-gen-plist:
.if defined(AP_GENPLIST)
. if !exists(${PLIST})
@${ECHO} "===> Generating apache plist"
- @${ECHO} "@cwd ${APXS_PREFIX}" > ${PLIST}
- @${ECHO} "@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%" >> ${PLIST}
+ @${ECHO} "@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%" > ${PLIST}
@${ECHO} "%%APACHEMODDIR%%/%%AP_MODULE%%" >> ${PLIST}
@${ECHO} "@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F" >> ${PLIST}
- @${ECHO} "@cwd ${PREFIX}" >> ${PLIST}
+ @${ECHO} "@unexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}
. endif
.else
@${DO_NADA}