summaryrefslogtreecommitdiff
path: root/graphics/xart
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-27 18:32:50 +0000
committermarino <marino@pkgsrc.org>2012-05-27 18:32:50 +0000
commit99867b9c52a7029341a6d8d01268d00371427094 (patch)
treeac9560a1aac184374e363df1131285ea2ad3b391 /graphics/xart
parenta1e9eaceef1e9763fe6a5da71338b8fcb4ac25c7 (diff)
downloadpkgsrc-99867b9c52a7029341a6d8d01268d00371427094.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"