diff options
author | hubertf <hubertf> | 1998-05-08 22:12:50 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1998-05-08 22:12:50 +0000 |
commit | e1563d6af4553e91dfe7300b4b612c41e404cfaf (patch) | |
tree | c1ef83cce18c5baa705972d14c1024a81669c3f9 /sysutils/rtty/Makefile | |
parent | a97a0599a75098bdd74ad8979b1e640039698a66 (diff) | |
download | pkgsrc-e1563d6af4553e91dfe7300b4b612c41e404cfaf.tar.gz |
add "/." after WRKDIR, so it even works if WRKOBJDIR is set
Diffstat (limited to 'sysutils/rtty/Makefile')
-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 |