svn commit: r372398 - head/converters/p5-Unicode-IMAPUtf7
Mathieu Arnold
mat at FreeBSD.org
Mon Nov 10 15:10:07 UTC 2014
Author: mat
Date: Mon Nov 10 15:10:06 2014
New Revision: 372398
URL: https://svnweb.freebsd.org/changeset/ports/372398
QAT: https://qat.redports.org/buildarchive/r372398/
Log:
Fix build as a user, for real this time.
Sponsored by: Absolight
Modified:
head/converters/p5-Unicode-IMAPUtf7/Makefile
Modified: head/converters/p5-Unicode-IMAPUtf7/Makefile
==============================================================================
--- head/converters/p5-Unicode-IMAPUtf7/Makefile Mon Nov 10 15:05:02 2014 (r372397)
+++ head/converters/p5-Unicode-IMAPUtf7/Makefile Mon Nov 10 15:10:06 2014 (r372398)
@@ -21,7 +21,13 @@ RUN_DEPENDS= p5-Unicode-String>=0:${PORT
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>
More information about the svn-ports-head
mailing list