summaryrefslogtreecommitdiff
path: root/graphics/xart
diff options
context:
space:
mode:
authormarino <marino>2012-05-27 18:32:50 +0000
committermarino <marino>2012-05-27 18:32:50 +0000
commit250ff7d89e07900823faa9d63ec0296341ae5789 (patch)
treeac9560a1aac184374e363df1131285ea2ad3b391 /graphics/xart
parent28bfb2061e21f54edfc7d30453f92278360d7197 (diff)
downloadpkgsrc-250ff7d89e07900823faa9d63ec0296341ae5789.tar.gz
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 (limited to 'graphics/xart')
-rw-r--r--graphics/xart/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/xart/Makefile b/graphics/xart/Makefile
index 6da7d73957d..07df1836c36 100644
--- a/graphics/xart/Makefile
+++ b/graphics/xart/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}/19980415
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"