summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-02-24 03:54:41 +0000
committerkris <kris@FreeBSD.org>2003-02-24 03:54:41 +0000
commitbe8df388edaf1adbd212490a294a92e02cb9b939 (patch)
tree559bd974f8139cda63f6b22b286c7c3291409d4e /Makefile
parent9f521e4f44b471ce2b543807325c8cc4dceefabd (diff)
downloadFreeBSD-ports-be8df388edaf1adbd212490a294a92e02cb9b939.zip
FreeBSD-ports-be8df388edaf1adbd212490a294a92e02cb9b939.tar.gz
Correct the bug in 'make index' that failed to substitute back the
canonical PREFIX locations for /nonexistent*
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de7fbc7..f3eedd9 100644
--- a/Makefile
+++ b/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 | \
OpenPOWER on IntegriCloud