aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-28 15:50:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-28 15:50:53 +0000
commitac049a67f3efb5099f298c1e4908de5fe659024c (patch)
treed821e784fd30a334b16329131b281187ad9e7117 /Mk
parent34f92f107907f5e9be10562186dcee7d8b43bd52 (diff)
downloadports-ac049a67f3efb5099f298c1e4908de5fe659024c.tar.gz
ports-ac049a67f3efb5099f298c1e4908de5fe659024c.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.apache.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index 2a8f7c728849..5198e3b0c890 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -393,7 +393,7 @@ ap-gen-plist:
.if defined(AP_GENPLIST)
. if !exists(${PLIST})
@${ECHO} "===> Generating apache plist"
- @${ECHO} "@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%%APACHEMODDIR%%/%%AP_MODULE%%" > ${PLIST}
+ @${ECHO} "@unexec ${SED} -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf" >> ${PLIST}
@${ECHO} "%%APACHEMODDIR%%/%%AP_MODULE%%" >> ${PLIST}
@${ECHO} "@exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F" >> ${PLIST}
@${ECHO} "@unexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}