Date: Thu, 10 Aug 2006 17:43:35 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 103585 for review Message-ID: <200608101743.k7AHhZpk041225@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103585 Change 103585 by gabor@gabor_spitfire on 2006/08/10 17:42:50 Fix MLINKS for DESTDIR. Submitted by: John E. Hein <jhein at timing dot com> Affected files ... .. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#79 edit Differences ... ==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#79 (text+ko) ==== @@ -2592,7 +2592,7 @@ .endfor .endif _COUNT=0 -.for ___tpmlinks in ${_MLINKS} +.for ___tpmlinks in ${_MLINKS:S%^${DESTDIR}%%} .if ${_COUNT} == "1" _TMLINKS+= ${___tpmlinks} _COUNT=0 @@ -5114,7 +5114,7 @@ @set ${_MLINKS}; \ while :; do \ [ $$# -eq 0 ] && break || ${TRUE}; \ - ${RM} -f $${2%.gz}; ${RM} -f $$2.gz; \ + ${RM} -f $${2%.gz}; ${RM} -f $${2%.gz}.gz; \ ${LN} -fs `${ECHO_CMD} $$1 $$2 | ${AWK} '{ \ z=split($$1, a, /\//); x=split($$2, b, /\//); \ while (a[i] == b[i]) i++; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608101743.k7AHhZpk041225>