FreeBSD Bugzilla – Attachment 224357 Details for
Bug 255330
net-mgmt/observium: make install fails if APACHEMOD is not set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal for fixing the issue
net-mgmt_observium_fix_install.patch (text/plain), 1009 bytes, created by
x0r+freebsd
on 2021-04-22 15:57:40 UTC
(
hide
)
Description:
Patch proposal for fixing the issue
Filename:
MIME Type:
Creator:
x0r+freebsd
Created:
2021-04-22 15:57:40 UTC
Size:
1009 bytes
patch
obsolete
>--- Makefile.orig 2021-04-22 17:14:14.338961000 +0200 >+++ Makefile 2021-04-22 17:36:36.736984000 +0200 >@@ -96,8 +96,11 @@ > ${MKDIR} ${WRKSRC}/logs ${WRKSRC}/rrd > > do-install: >- ${MKDIR} ${STAGEDIR}/${WWWDIR} ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes >+.if ${PORT_OPTIONS:MAPACHEMOD} >+ ${MKDIR} ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes > ${INSTALL_DATA} ${WRKDIR}/observium.conf.sample ${STAGEDIR}/${PREFIX}/${APACHEETCDIR}/Includes >+.endif >+ ${MKDIR} ${STAGEDIR}/${WWWDIR} > .for dir in ${ROOT_DIRS} > ${MKDIR} ${STAGEDIR}/${WWWDIR}/${dir} > (cd ${WRKSRC}/${dir} && ${COPYTREE_SHARE} . ${STAGEDIR}/${WWWDIR}/${dir}) >@@ -124,7 +127,9 @@ > .endfor > > post-install: >+.if ${PORT_OPTIONS:MAPACHEMOD} > @${ECHO} "@sample ${APACHEETCDIR}/Includes/observium.conf.sample" >> ${TMPPLIST} >+.endif > @${FIND} -s ${STAGEDIR}${WWWDIR} -type f '(' -name '*.orig' -or -name '*.bak' ')' -delete > @${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \ > ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255330
: 224357