From 11e2b03ccb5ca26ba2d7a873c14be5ca7f80884e Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sun, 11 Mar 2001 03:14:12 +0000 Subject: Eww. Cull etc/tmp in favor of var/tmp (even though this is not what hier(7) specifically states, it's still better than screwing around with stuff outside of ${PREFIX}). PR: 25672 Submitted by: Dan Langille --- security/logcheck/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'security/logcheck/Makefile') diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 0a172704913f..558339edfd9e 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -14,6 +14,10 @@ MAINTAINER= ports@freebsddiary.org PKGMESSAGE= ${WRKDIR}/MESSAGE +pre-configure: + ${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g" ${WRKSRC}/Makefile ${WRKSRC}/systems/freebsd/logcheck.sh + ${PERL} -pi -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile + post-build: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} -- cgit v1.2.3