PERFORCE change 101547 for review
Gabor Kovesdan
gabor at FreeBSD.org
Fri Jul 14 13:37:12 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=101547
Change 101547 by gabor at gabor_spitfire on 2006/07/14 13:36:36
Fix plist corruptions with DOCSDIR.
Affected files ...
.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#25 edit
Differences ...
==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#25 (text+ko) ====
@@ -5361,14 +5361,14 @@
@if ${ECHO_CMD} "${x}"| ${AWK} '$$1 ~ /(\*|\||\[|\]|\?|\{|\}|\$$)/ { exit 1};'; then \
if [ ! -e ${DOCSDIR}/${x} ]; then \
${ECHO_CMD} ${DOCSDIR}/${x} | \
- ${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}; \
+ ${SED} -e 's,^${DESTDIR}${PREFIX}/,,' >> ${TMPPLIST}; \
fi;fi
.endfor
@${FIND} -P ${PORTDOCS:S/^/${DOCSDIR}\//} ! -type d 2>/dev/null | \
- ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
+ ${SED} -ne 's,^${DESTDIR}${PREFIX}/,,p' >> ${TMPPLIST}
@${FIND} -P -d ${PORTDOCS:S/^/${DOCSDIR}\//} -type d 2>/dev/null | \
- ${SED} -ne 's,^${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
- @${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
+ ${SED} -ne 's,^${DESTDIR}${PREFIX}/, at dirrm ,p' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${DESTDIR}${PREFIX}/,,}" >> ${TMPPLIST}
.else
@${DO_NADA}
.endif
More information about the p4-projects
mailing list