Date: Wed, 23 Oct 2013 17:47:32 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331398 - head/Mk/Uses Message-ID: <201310231747.r9NHlWuQ075628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310231747.r9NHlWuQ075628>