svn commit: r331562 - head/Mk/Uses

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Oct 25 07:53:25 UTC 2013


Author: sunpoet
Date: Fri Oct 25 07:53:24 2013
New Revision: 331562
URL: http://svnweb.freebsd.org/changeset/ports/331562

Log:
  - Add missing || ${TRUE}

Modified:
  head/Mk/Uses/perl5.mk

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Fri Oct 25 07:50:03 2013	(r331561)
+++ head/Mk/Uses/perl5.mk	Fri Oct 25 07:53:24 2013	(r331562)
@@ -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}
-	@[ -x ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
+	@([ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;) || ${TRUE}
 .endif
 .endif # defined(_POSTMKINCLUDED)


More information about the svn-ports-head mailing list