summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authormarino <marino>2012-05-27 17:47:29 +0000
committermarino <marino>2012-05-27 17:47:29 +0000
commit1a6dc1ab14d63762b837156e0c01b81fd0e902df (patch)
treee4595b938c109381113b0e6a678302bce48a0d76 /emulators
parent66fcd70686b4f7bdcecbb559128140cef18691fc (diff)
downloadpkgsrc-1a6dc1ab14d63762b837156e0c01b81fd0e902df.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')
-rw-r--r--emulators/handy_sdl/Makefile4
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