diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-06-28 15:50:53 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-06-28 15:50:53 +0000 |
commit | ac049a67f3efb5099f298c1e4908de5fe659024c (patch) | |
tree | d821e784fd30a334b16329131b281187ad9e7117 /Mk | |
parent | 34f92f107907f5e9be10562186dcee7d8b43bd52 (diff) | |
download | ports-ac049a67f3efb5099f298c1e4908de5fe659024c.tar.gz ports-ac049a67f3efb5099f298c1e4908de5fe659024c.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.apache.mk | 2 |
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} |