diff options
author | marino <marino> | 2012-05-27 17:47:29 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-27 17:47:29 +0000 |
commit | 27c7307ca12927554edca217a8ecab9b452d26c2 (patch) | |
tree | e4595b938c109381113b0e6a678302bce48a0d76 | |
parent | 41b79da94628a90625025ee49104f7de10339ba2 (diff) | |
download | pkgsrc-27c7307ca12927554edca217a8ecab9b452d26c2.tar.gz |
emulators/handy_sdl: Really fix normal user building
The post-extract target on this package was supposed to allow normal users
to build this package, but it didn't work for me. It may have been the
attempt at changing $WRKSRC instead of $WRKSRC/src (recursively).
The updated command touches only directories rather than all files and
now handy_sdl builds for me with a non-root user.
-rw-r--r-- | emulators/handy_sdl/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/handy_sdl/Makefile b/emulators/handy_sdl/Makefile index c1afe4a6237..319b8f50b1a 100644 --- a/emulators/handy_sdl/Makefile +++ b/emulators/handy_sdl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2011/10/03 04:20:34 dholland Exp $ +# $NetBSD: Makefile,v 1.6 2012/05/27 17:47:29 marino Exp $ # DISTNAME= handy_sdl-0.5-src @@ -23,7 +23,7 @@ INSTALLATION_DIRS= bin share/doc/handy_sdl MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} post-extract: - ${CHMOD} -R a+X ${WRKSRC} + ${FIND} ${WRKSRC}/src -type d -exec ${CHMOD} a+X {} \; do-install: ${INSTALL_PROGRAM} ${WRKSRC}/handy_sdl ${DESTDIR}${PREFIX}/bin |