summaryrefslogtreecommitdiff
path: root/lang/tcl83
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl83')
-rw-r--r--lang/tcl83/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile
index 30a3b9fd3753..6176a7d56711 100644
--- a/lang/tcl83/Makefile
+++ b/lang/tcl83/Makefile
@@ -427,9 +427,11 @@ MLINKS= Access.3 Tcl_Access.3 \
.endif
+TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}
+
post-configure:
${REINPLACE_CMD} \
- -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \
+ -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TCLBASE}|' \
${WRKSRC}/tclConfig.sh
.if !defined(WITH_TCL83_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \