summaryrefslogtreecommitdiff
path: root/sysutils/rtty
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-23 18:42:22 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-23 18:42:22 +0000
commit63a359eeb744da9c4688629c1a7e2c6ea6b0ebdf (patch)
tree58becf01c2a42673efc69e5226ba3397474adbf5 /sysutils/rtty
parent073c7a3fd9308b2da562d09d87dab3f3533a7f71 (diff)
downloadpkgsrc-63a359eeb744da9c4688629c1a7e2c6ea6b0ebdf.tar.gz
Be more careful in what to chmod and substitute, so that the wrappers
aren't changed.
Diffstat (limited to 'sysutils/rtty')
-rw-r--r--sysutils/rtty/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/rtty/Makefile b/sysutils/rtty/Makefile
index 062be89ffbb..4fba79e9bb0 100644
--- a/sysutils/rtty/Makefile
+++ b/sysutils/rtty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2012/10/23 19:51:22 asau Exp $
+# $NetBSD: Makefile,v 1.29 2013/05/23 18:42:22 joerg Exp $
DISTNAME= rtty-3.2
PKGREVISION= 1
@@ -18,8 +18,8 @@ MAKE_ENV+= LIBS="-lcrypt"
.endif
pre-configure:
- ${CHMOD} -R u+w ${WRKDIR}
- for f in `${FIND} ${WRKDIR}/. -type f -print | ${XARGS} ${GREP} -l '/usr/local'`; do \
+ ${CHMOD} u+w ${WRKDIR}/*
+ for f in `echo ${WRKDIR}/* | ${XARGS} ${GREP} -l '/usr/local'`; do \
${ECHO} patching $$f ; \
${SED} -e 's:/usr/local:${PREFIX}:g' $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
done