diff options
Diffstat (limited to 'misc/kp/Makefile')
-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" |