summaryrefslogtreecommitdiff
path: root/misc/kp
diff options
context:
space:
mode:
authoragc <agc>1998-05-15 13:55:35 +0000
committeragc <agc>1998-05-15 13:55:35 +0000
commitbe28a24ac93d7c5b14ed309fd2c500d42252bf4e (patch)
tree500a09b522d7a1f489cab9bf351166760608dcdd /misc/kp
parent15f63ccc1134143ef63645db321494f9a624c680 (diff)
downloadpkgsrc-be28a24ac93d7c5b14ed309fd2c500d42252bf4e.tar.gz
Append a "/." to the ${WRKDIR} value in the find command, to ensure
that we traverse through any symbolic links. Make the misc/kp package Makefile a bit neater - remove an unnecessary temporary file.
Diffstat (limited to 'misc/kp')
-rw-r--r--misc/kp/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/kp/Makefile b/misc/kp/Makefile
index a8203913d34..e5361863275 100644
--- a/misc/kp/Makefile
+++ b/misc/kp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1998/04/24 09:20:36 agc Exp $
+# $NetBSD: Makefile,v 1.7 1998/05/15 13:55:35 agc Exp $
# FreeBSD Id: Makefile,v 1.8 1997/04/20 13:19:32 wosch Exp
#
@@ -13,10 +13,8 @@ RUN_DEPENDS= wish8.0:../../x11/tk80
MAN1= kp.1
pre-configure:
- find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list
- for f in `cat ${WRKDIR}/prefix-list`; do \
+ for f in `find ${WRKDIR}/. -type f -print|xargs ${GREP} -l '/usr/local'`; do \
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
done
- ${RM} ${WRKDIR}/prefix-list
.include "../../mk/bsd.pkg.mk"