diff options
author | marino <marino@pkgsrc.org> | 2012-05-27 17:47:29 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-05-27 17:47:29 +0000 |
commit | aa679fe35462f83c01cb9a98eca9853f99fe8994 (patch) | |
tree | e4595b938c109381113b0e6a678302bce48a0d76 /emulators/handy_sdl | |
parent | 443960d77ae6ab8985599c4fc773835d807657d1 (diff) | |
download | pkgsrc-aa679fe35462f83c01cb9a98eca9853f99fe8994.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.
Diffstat (limited to 'emulators/handy_sdl')
-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 |