aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl84
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-11-01 12:46:24 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-11-01 12:46:24 +0000
commitf1577acfd9b7c183e7640baa7a6c64334df1039c (patch)
treee78577d4169a96950a1b591bf24ae58780cf4650 /lang/tcl84
parent986a57262f91cbd86f960d2a7381fbd01cf22930 (diff)
downloadports-f1577acfd9b7c183e7640baa7a6c64334df1039c.tar.gz
ports-f1577acfd9b7c183e7640baa7a6c64334df1039c.zip
Notes
Diffstat (limited to 'lang/tcl84')
-rw-r--r--lang/tcl84/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile
index f4af83011e75..fc76b975402c 100644
--- a/lang/tcl84/Makefile
+++ b/lang/tcl84/Makefile
@@ -602,9 +602,11 @@ post-patch:
.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(WITHOUT_TCL84_MAN)
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \