aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl84
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-11-01 20:46:24 +0800
committerdinoex <dinoex@FreeBSD.org>2004-11-01 20:46:24 +0800
commit367d5427cb9454760695b1990b7f837888249f2f (patch)
treea7741a7eaa003259dc54fff68d76fe90f29aa51d /lang/tcl84
parent9f4e57d750b4d46cd05bc44d9f00e21c600a3626 (diff)
downloadfreebsd-ports-gnome-367d5427cb9454760695b1990b7f837888249f2f.tar.gz
freebsd-ports-gnome-367d5427cb9454760695b1990b7f837888249f2f.tar.zst
freebsd-ports-gnome-367d5427cb9454760695b1990b7f837888249f2f.zip
- allow to set TCLBASE
package not changed
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}|' \