summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorgdt <gdt>2014-03-18 23:28:20 +0000
committergdt <gdt>2014-03-18 23:28:20 +0000
commit8e271e53fa35243aa82800763078ffdff152729c (patch)
tree0e61352535e40c4e06054c0d7c0858763c4cfec3 /graphics/xfig
parentcc83297f182d16b0fd7af02ee231e454c0f1c748 (diff)
downloadpkgsrc-8e271e53fa35243aa82800763078ffdff152729c.tar.gz
Add stronger accomodation for broken modes in distfile.
On OS X 10.9, the find command to repair directory modes fails, apparently because the directory is 600, without even the owner x bit. Add an extra chmod to fix that before the find. (No PKGREVISION++, because the binary package will be unchanged if it built before.)
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 9c45a8f159c..4280944af6c 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2013/02/16 11:22:34 wiz Exp $
+# $NetBSD: Makefile,v 1.69 2014/03/18 23:28:20 gdt Exp $
DISTNAME= xfig.3.2.5b.full
PKGNAME= xfig-3.2.5b
@@ -27,6 +27,7 @@ CFLAGS+= -I${X11PREFIX}/include/X11
post-extract:
cd ${WRKSRC} && ${RM} -f Doc/*.orig Doc/*/*.orig Doc/*/*.save Doc/*/*/*.orig
+ ${CHMOD} 755 ${WRKSRC}/Libraries
find ${WRKSRC}/Libraries -type d -exec ${CHMOD} 0755 {} \;
find ${WRKSRC}/Libraries -type f -exec ${CHMOD} 0644 {} \;
find ${WRKSRC}/Doc -type d -exec ${CHMOD} 0755 {} \;