mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Correct the bug in 'make index' that failed to substitute back the
canonical PREFIX locations for /nonexistent*
This commit is contained in:
parent
e53dff475f
commit
f26c3131fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76348
2
Makefile
2
Makefile
@ -70,7 +70,7 @@ ${.CURDIR}/${INDEXFILE}:
|
||||
export X11BASE=/nonexistentx; \
|
||||
cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \
|
||||
perl ${.CURDIR}/Tools/make_index | \
|
||||
sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > ${INDEXFILE}
|
||||
sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,$${LOCALBASE},/usr/local," -e "s,$${X11BASE},/usr/X11R6," > ${INDEXFILE}
|
||||
.if !defined(INDEX_NOSORT)
|
||||
@sed -e 's./..g' ${.CURDIR}/${INDEXFILE} | \
|
||||
sort -t '|' +1 -2 | \
|
||||
|
Loading…
Reference in New Issue
Block a user