summaryrefslogtreecommitdiff
path: root/sysutils/rtty
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-05-08 22:12:50 +0000
committerhubertf <hubertf>1998-05-08 22:12:50 +0000
commite1563d6af4553e91dfe7300b4b612c41e404cfaf (patch)
treec1ef83cce18c5baa705972d14c1024a81669c3f9 /sysutils/rtty
parenta97a0599a75098bdd74ad8979b1e640039698a66 (diff)
downloadpkgsrc-e1563d6af4553e91dfe7300b4b612c41e404cfaf.tar.gz
add "/." after WRKDIR, so it even works if WRKOBJDIR is set
Diffstat (limited to 'sysutils/rtty')
-rw-r--r--sysutils/rtty/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/rtty/Makefile b/sysutils/rtty/Makefile
index 49d90ba7da8..690c0663cb2 100644
--- a/sysutils/rtty/Makefile
+++ b/sysutils/rtty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/04/15 10:38:49 agc Exp $
+# $NetBSD: Makefile,v 1.6 1998/05/08 22:12:50 hubertf Exp $
# FreeBSD Id: Makefile,v 1.3 1997/01/06 12:13:36 jkh Exp
#
@@ -14,7 +14,8 @@ OPSYS!= uname -s
.if (${OPSYS} == "NetBSD")
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 \
+ echo patching $$f ; \
${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
done
.endif