pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/xart Iterate over directories in order, fixes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50206fe348e2
branches:  trunk
changeset: 639836:50206fe348e2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sat Sep 27 10:05:42 2014 +0000

description:
Iterate over directories in order, fixes issue seen with BSD chmod.

diffstat:

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

diffs (20 lines):

diff -r 772b4fb44e7b -r 50206fe348e2 graphics/xart/Makefile
--- a/graphics/xart/Makefile    Sat Sep 27 09:46:24 2014 +0000
+++ b/graphics/xart/Makefile    Sat Sep 27 10:05:42 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2014/09/25 10:34:45 jperkin Exp $
+# $NetBSD: Makefile,v 1.62 2014/09/27 10:05:42 jperkin Exp $
 #
 
 DISTNAME=      xart19980415
@@ -19,7 +19,9 @@
 USE_IMAKE=     YES
 
 post-extract:
-       ${CHMOD} 755 ${WRKSRC} ${WRKSRC}/{Doc,bitmaps,rw}
+       for d in ${WRKSRC} ${WRKSRC}/{Doc,bitmaps,rw}; do       \
+               ${CHMOD} 755 $${d};                             \
+       done
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;
 
 .include "../../mk/jpeg.buildlink3.mk"



Home | Main Index | Thread Index | Old Index