- adopt new pkg keywords (CHANGES: 20150926)
- s/exec/postexec/ - s/unexec/postunexec/ with head apache@
This commit is contained in:
parent
7b9b2e6b61
commit
283f684ca4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404288
1 changed files with 3 additions and 3 deletions
|
@ -489,10 +489,10 @@ ap-gen-plist:
|
|||
.if defined(AP_GENPLIST)
|
||||
. if !exists(${PLIST})
|
||||
@${ECHO} "===> Generating apache plist"
|
||||
@${ECHO} "@unexec ${SED} -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf" >> ${PLIST}
|
||||
@${ECHO} "%%APACHEMODDIR%%/%%AP_MODULE%%" >> ${PLIST}
|
||||
@${ECHO} "@exec %D/sbin/apxs -e ${AP_MOD_EN} -n %%AP_NAME%% %D/%F" >> ${PLIST}
|
||||
@${ECHO} "@unexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}
|
||||
@${ECHO} "@postexec %D/sbin/apxs -e ${AP_MOD_EN} -n %%AP_NAME%% %D/%F" >> ${PLIST}
|
||||
@${ECHO} "@postunexec ${SED} -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf" >> ${PLIST}
|
||||
@${ECHO} "@postunexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}
|
||||
. endif
|
||||
.else
|
||||
@${DO_NADA}
|
||||
|
|
Loading…
Reference in a new issue