Index: head/converters/p5-Unicode-IMAPUtf7/Makefile =================================================================== --- head/converters/p5-Unicode-IMAPUtf7/Makefile (revision 372397) +++ head/converters/p5-Unicode-IMAPUtf7/Makefile (revision 372398) @@ -1,27 +1,33 @@ # Created by: Seamus Venasse # $FreeBSD$ PORTNAME= Unicode-IMAPUtf7 PORTVERSION= 2.01 PORTREVISION= 1 CATEGORIES= converters perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:FABPOT PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl extension to deal with IMAP UTF-7 LICENSE= ART10 GPLv1 LICENSE_COMB= dual BUILD_DEPENDS= p5-Unicode-String>=0:${PORTSDIR}/converters/p5-Unicode-String 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