summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-11-10 15:10:06 +0000
committermat <mat@FreeBSD.org>2014-11-10 15:10:06 +0000
commit300b1dd2c10f1f8999c9831d787ceb2b030cf125 (patch)
tree4f6e0238819b69d75f93c426310204a320bca0de
parent60865ecbf7e7881dd91c41fed20843cdc3fd4aaa (diff)
downloadFreeBSD-ports-300b1dd2c10f1f8999c9831d787ceb2b030cf125.zip
FreeBSD-ports-300b1dd2c10f1f8999c9831d787ceb2b030cf125.tar.gz
Fix build as a user, for real this time.
Sponsored by: Absolight
-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 a70dee2..bc39b92 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>
OpenPOWER on IntegriCloud