pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xart Fix post-extract chmod so it hopefully w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bfe873131679
branches:  trunk
changeset: 600301:bfe873131679
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Mar 05 04:36:04 2012 +0000

description:
Fix post-extract chmod so it hopefully works on Solaris. This thing
ships with its toplevel dir mode 0, and it seems that on Solaris if
you do find -exec chmod, find fails before it manages to run chmod.

diffstat:

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

diffs (19 lines):

diff -r fb8e128bdfb6 -r bfe873131679 graphics/xart/Makefile
--- a/graphics/xart/Makefile    Mon Mar 05 04:28:43 2012 +0000
+++ b/graphics/xart/Makefile    Mon Mar 05 04:36:04 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2012/02/06 12:40:38 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2012/03/05 04:36:04 dholland Exp $
 #
 
 DISTNAME=      xart19980415
@@ -21,8 +21,7 @@
 USE_IMAKE=     YES
 
 post-extract:
-       cd ${WRKDIR} && find * -type d -exec chmod 755 "{}" ";"
-       cd ${WRKDIR} && find * -type f -print | xargs chmod 644
+       chmod -R u+rwX,go+rX ${WRKSRC}
 
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"



Home | Main Index | Thread Index | Old Index