diff options
author | agc <agc@pkgsrc.org> | 1998-05-15 13:55:35 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-05-15 13:55:35 +0000 |
commit | eb2503b2f9b9ca499f178f0ed4ff1b7ee7d207c4 (patch) | |
tree | 500a09b522d7a1f489cab9bf351166760608dcdd /misc | |
parent | 591b6bbf2600742c63ee4e1a80af4f5f5e2b1ebc (diff) | |
download | pkgsrc-eb2503b2f9b9ca499f178f0ed4ff1b7ee7d207c4.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')
-rw-r--r-- | misc/kp/Makefile | 6 |
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" |