Summary: | Update Port: mail/mailgraph by maintainer | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Rong-En Fan <rafan> | ||||
Component: | Individual Port(s) | Assignee: | Volker Stolz <vs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Rong-En Fan
2004-05-12 11:40:12 UTC
Responsible Changed From-To: freebsd-ports-bugs->vs Take, already spotted something fishy :) This patch will fix the problem that vs@ mentioned. diff -ruN mailgraph.old/Makefile mailgraph/Makefile --- mailgraph.old/Makefile Wed May 12 19:43:17 2004 +++ mailgraph/Makefile Wed May 12 19:42:24 2004 @@ -27,9 +27,13 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} DATADIR=${DATADIR} STARTUP_FILE= ${PREFIX}/etc/rc.d/mailgraph.sh +MSG_FILE= ${PKGDIR}/pkg-message +PKGMESSAGE= ${WRKSRC}/pkg-message + post-patch: @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/mailgraph.cgi + @${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE} do-install: ${MKDIR} ${PREFIX}/www/cgi-bin @@ -43,7 +47,7 @@ post-install: @${ECHO} - @${CAT} ${PKGMESSAGE} | ${SED} -e "s,%%DATADIR%%,${DATADIR}," ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} @${ECHO} .include <bsd.port.mk> State Changed From-To: open->closed Committed, thanks! |