diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-05-08 22:12:50 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-05-08 22:12:50 +0000 |
commit | 99afe17c3ba572dbccc5a52357ae917695c0a7d4 (patch) | |
tree | c1ef83cce18c5baa705972d14c1024a81669c3f9 | |
parent | 6f45f24b8fcee7ebb1b5ab521fbb7b109bcde43b (diff) | |
download | pkgsrc-99afe17c3ba572dbccc5a52357ae917695c0a7d4.tar.gz |
add "/." after WRKDIR, so it even works if WRKOBJDIR is set
-rw-r--r-- | sysutils/rtty/Makefile | 5 |
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 |