Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2014 15:10:07 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372398 - head/converters/p5-Unicode-IMAPUtf7
Message-ID:  <201411101510.sAAFA7ht012249@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411101510.sAAFA7ht012249>