From 3b01b981633233325f1cb044169991f0e3d6383a Mon Sep 17 00:00:00 2001 From: gdt Date: Tue, 18 Mar 2014 23:28:20 +0000 Subject: [PATCH] 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.) --- graphics/xfig/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 9c45a8f159cd..4280944af6cc 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 {} \;