aboutsummaryrefslogtreecommitdiff
path: root/www/apache2
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-09-03 12:41:17 +0000
committerClement Laforet <clement@FreeBSD.org>2004-09-03 12:41:17 +0000
commit6369afd447112cf12dccb35205c479de22852fba (patch)
tree1d3f9cfcf097fe9560e6a65296a3556322851d77 /www/apache2
parentc3f1c8a69e5adb28bd7bf0de58e5169ee5bb6c82 (diff)
Notes
Diffstat (limited to 'www/apache2')
-rw-r--r--www/apache2/Makefile.modules.3rd10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/apache2/Makefile.modules.3rd b/www/apache2/Makefile.modules.3rd
index c5214a4f6f0c..ccd62d3ddb9c 100644
--- a/www/apache2/Makefile.modules.3rd
+++ b/www/apache2/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}