pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xart graphics/xart: Fix post-extract chmod again



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcd8a39b1ba3
branches:  trunk
changeset: 604259:bcd8a39b1ba3
user:      marino <marino%pkgsrc.org@localhost>
date:      Sun May 27 18:32:50 2012 +0000

description:
graphics/xart: Fix post-extract chmod again

Three months ago, the post-extract command was modified because it didn't
work on Solaris.  The fix provided broke the non-root user build.  The
problem with the original post-extract command was that it started with
$WRKDIR instead of $WRKSRC.  Return this target back to a tweaked version
of the original post-extract command (and cross fingers that it still
works on Solaris)

diffstat:

 graphics/xart/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 3ced6c64798a -r bcd8a39b1ba3 graphics/xart/Makefile
--- a/graphics/xart/Makefile    Sun May 27 18:28:17 2012 +0000
+++ b/graphics/xart/Makefile    Sun May 27 18:32:50 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2012/05/03 09:55:30 obache Exp $
+# $NetBSD: Makefile,v 1.57 2012/05/27 18:32:50 marino Exp $
 #
 
 DISTNAME=      xart19980415
@@ -21,7 +21,8 @@
 USE_IMAKE=     YES
 
 post-extract:
-       chmod -R u+rwX,go+rX ${WRKSRC}
+       ${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
+       ${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
 
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"



Home | Main Index | Thread Index | Old Index