summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-05-15 13:55:35 +0000
committeragc <agc@pkgsrc.org>1998-05-15 13:55:35 +0000
commiteb2503b2f9b9ca499f178f0ed4ff1b7ee7d207c4 (patch)
tree500a09b522d7a1f489cab9bf351166760608dcdd
parent591b6bbf2600742c63ee4e1a80af4f5f5e2b1ebc (diff)
downloadpkgsrc-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.
-rw-r--r--audio/rplay/Makefile4
-rw-r--r--graphics/xv/Makefile4
-rw-r--r--misc/kp/Makefile6
3 files changed, 6 insertions, 8 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index 7f9db745c0d..de8f0d3822d 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1998/04/22 14:22:39 agc Exp $
+# $NetBSD: Makefile,v 1.10 1998/05/15 13:55:35 agc Exp $
# FreeBSD Id: Makefile,v 1.8 1997/06/13 16:17:01 ache Exp
#
@@ -21,7 +21,7 @@ MAN5= rplay.conf.5 rplay.hosts.5 rplay.servers.5
INFO_FILES= RPTP.info RPLAY.info rplay.info librplay.info
pre-configure:
- for f in `find ${WRKDIR} -type f -print|xargs $[GREP} -l '/usr/local'`; 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
chmod +x ${WRKSRC}/configure
diff --git a/graphics/xv/Makefile b/graphics/xv/Makefile
index d0eac2f71a3..e5c2da58b7c 100644
--- a/graphics/xv/Makefile
+++ b/graphics/xv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 1998/04/22 14:22:44 agc Exp $
+# $NetBSD: Makefile,v 1.9 1998/05/15 13:55:35 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1997/07/03 07:37:08 asami Exp
#
@@ -26,7 +26,7 @@ pre-patch:
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/Patch.magpic2.PhotoCD.XV310a
pre-configure:
- for f in `find ${WRKDIR} -name Imakefile -follow -print`; do \
+ for f in `find ${WRKDIR}/. -name Imakefile -follow -print`; do \
${SED} -e 's:/usr/local:'${LOCALBASE}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
done
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"