summaryrefslogtreecommitdiff
path: root/security/logcheck/Makefile
diff options
context:
space:
mode:
authornra <nra>2001-07-17 15:50:31 +0000
committernra <nra>2001-07-17 15:50:31 +0000
commit0aba104504daec94fa2534ac009071b02d0dd13b (patch)
treeab528dba9e39921ab5e707258329fa1a577e2251 /security/logcheck/Makefile
parentc0c4867f39995292b551db2f314d859ac4bb5d88 (diff)
downloadpkgsrc-0aba104504daec94fa2534ac009071b02d0dd13b.tar.gz
Fix patch-ab to not have hardcoded /usr/pkg.
Diffstat (limited to 'security/logcheck/Makefile')
-rw-r--r--security/logcheck/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile
index b74c79c9633..d80ac131bea 100644
--- a/security/logcheck/Makefile
+++ b/security/logcheck/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/07/17 15:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2001/07/17 15:50:31 nra Exp $
DISTNAME= logcheck-1.1.1
CATEGORIES= security
@@ -12,5 +12,10 @@ post-patch:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
@${SED} -e "s+/usr/local+${PREFIX}+g" \
< ${WRKSRC}/Makefile.old > ${WRKSRC}/Makefile
+ @${MV} ${WRKSRC}/systems/freebsd/logcheck.sh \
+ ${WRKSRC}/systems/freebsd/logcheck.sh.old
+ @${SED} -e "s+/usr/local+${PREFIX}+g" \
+ ${WRKSRC}/systems/freebsd/logcheck.sh.old > \
+ ${WRKSRC}/systems/freebsd/logcheck.sh
.include "../../mk/bsd.pkg.mk"