pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/handy_sdl emulators/handy_sdl: Really fix no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf5dbccb3ad6
branches:  trunk
changeset: 604254:cf5dbccb3ad6
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun May 27 17:47:29 2012 +0000

description:
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:

 emulators/handy_sdl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bc7f61897d83 -r cf5dbccb3ad6 emulators/handy_sdl/Makefile
--- a/emulators/handy_sdl/Makefile      Sun May 27 17:40:38 2012 +0000
+++ b/emulators/handy_sdl/Makefile      Sun May 27 17:47:29 2012 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index