svn commit: r331398 - head/Mk/Uses
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Oct 23 17:47:32 UTC 2013
Author: sunpoet
Date: Wed Oct 23 17:47:31 2013
New Revision: 331398
URL: http://svnweb.freebsd.org/changeset/ports/331398
Log:
- Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by: John Marino <freebsd.contact at marino.st>
Modified:
head/Mk/Uses/perl5.mk
Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk Wed Oct 23 17:22:27 2013 (r331397)
+++ head/Mk/Uses/perl5.mk Wed Oct 23 17:47:31 2013 (r331398)
@@ -261,6 +261,6 @@ do-install:
post-stage::
# TODO: change to ${_USE_PERL5:Mconfigure} when M::B creates .packlist
.if ${USE_PERL5:Mconfigure} || ${USE_PERL5:Mmodbuildtiny}
- @${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
+ @[ -x ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
.endif
.endif # defined(_POSTMKINCLUDED)
More information about the svn-ports-all
mailing list