Date: Thu, 27 Nov 2014 13:14:25 +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: r373485 - head/Mk/Uses Message-ID: <201411271314.sARDEPD8026543@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Thu Nov 27 13:14:24 2014 New Revision: 373485 URL: https://svnweb.freebsd.org/changeset/ports/373485 QAT: https://qat.redports.org/buildarchive/r373485/ Log: Use TMPPLIST, not PLIST. Sponsored by: Absolight Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Thu Nov 27 13:14:08 2014 (r373484) +++ head/Mk/Uses/perl5.mk Thu Nov 27 13:14:24 2014 (r373485) @@ -271,10 +271,9 @@ PACKLIST_DIR?= ${PREFIX}/${SITE_ARCH_REL fix-perl-things: # Remove STAGEDIR from .packlist and add the file to the plist. @(if [ -d ${STAGEDIR}${PACKLIST_DIR} ] ; then \ - cd ${STAGEDIR} ; \ - find .${PACKLIST_DIR} -name .packlist | while read f ; do \ + find ${STAGEDIR}${PACKLIST_DIR} -name .packlist | while read f ; do \ ${SED} -i '' 's|^${STAGEDIR}||' "$$f"; \ - ${ECHO} $$f >> ${PLIST}; \ + ${ECHO} $$f | ${SED} -e 's|^${STAGEDIR}||' >> ${TMPPLIST}; \ done \ fi) || :
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411271314.sARDEPD8026543>