aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-Unicode-IMAPUtf7
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-11-10 15:10:06 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-11-10 15:10:06 +0000
commitc3212406fff6fd9607fbbde2a4f4d37c7454dd85 (patch)
tree4f6e0238819b69d75f93c426310204a320bca0de /converters/p5-Unicode-IMAPUtf7
parent569ea855cdb242c8923e23fb680514cc492ba436 (diff)
downloadports-c3212406fff6fd9607fbbde2a4f4d37c7454dd85.tar.gz
ports-c3212406fff6fd9607fbbde2a4f4d37c7454dd85.zip
Notes
Diffstat (limited to 'converters/p5-Unicode-IMAPUtf7')
-rw-r--r--converters/p5-Unicode-IMAPUtf7/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/converters/p5-Unicode-IMAPUtf7/Makefile b/converters/p5-Unicode-IMAPUtf7/Makefile
index a70dee288c1a..bc39b92939c1 100644
--- a/converters/p5-Unicode-IMAPUtf7/Makefile
+++ b/converters/p5-Unicode-IMAPUtf7/Makefile
@@ -21,7 +21,13 @@ RUN_DEPENDS= p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String
USES= perl5
USE_PERL5= configure
-post-extract: # breaks non-root build otherwise
- @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} a+rx
+# Fixing non root builds.
+# Distfile has directories with mode 644, which is not nice. Cannot
+# use ${FIND} because it will not be able to read because it is not
+# root and will not override the directories non executable status.
+post-extract:
+.for d in / /lib /lib/Unicode /t
+ @${CHMOD} 755 ${WRKSRC}${d}
+.endfor
.include <bsd.port.mk>