diff options
author | joerg <joerg> | 2013-05-23 18:42:22 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-05-23 18:42:22 +0000 |
commit | aaa39918217fdff55d19119b14712b6cf008e02d (patch) | |
tree | 58becf01c2a42673efc69e5226ba3397474adbf5 | |
parent | 8cf92a2513036abd7471736aeb23a3d6551dcb38 (diff) | |
download | pkgsrc-aaa39918217fdff55d19119b14712b6cf008e02d.tar.gz |
Be more careful in what to chmod and substitute, so that the wrappers
aren't changed.
-rw-r--r-- | sysutils/rtty/Makefile | 6 |
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 |