aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl82
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-03-24 04:29:13 +0800
committerdinoex <dinoex@FreeBSD.org>2003-03-24 04:29:13 +0800
commit918d826b1760e1956ebac8a17eff237ec76e9f88 (patch)
treef1ec7fbc46247aa3c6afd0c6fbc014620e93ecc9 /lang/tcl82
parent3ca1b0b4e9cf8fe0de4a50f75c54878d713436bb (diff)
downloadfreebsd-ports-gnome-918d826b1760e1956ebac8a17eff237ec76e9f88.tar.gz
freebsd-ports-gnome-918d826b1760e1956ebac8a17eff237ec76e9f88.tar.zst
freebsd-ports-gnome-918d826b1760e1956ebac8a17eff237ec76e9f88.zip
- make SOURCE path in tclConfig.sh variable
PR: 48574
Diffstat (limited to 'lang/tcl82')
-rw-r--r--lang/tcl82/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile
index cbd0b4acb2d1..2bcd1021fd02 100644
--- a/lang/tcl82/Makefile
+++ b/lang/tcl82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang tcl82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
@@ -26,6 +26,7 @@ MAKE_ENV= SHORT_TCL_VER=82
PKGINSTALL= ${PKGDIR}/pkg-install.tclsh
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh
NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
+USE_REINPLACE= YES
PLIST_SUB= TCL_VER=8.2 SHORT_TCL_VER=82
@@ -369,6 +370,10 @@ MLINKS= Access.3 Tcl_Access.3 \
pkgMkIndex.n pkg_mkIndex.n \
safe.n Safe\Base.n
+post-configure:
+ ${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}=$${WRKDIRPREFIX}=' \
+ ${WRKSRC}/tclConfig.sh
+
.include <bsd.port.pre.mk>
post-extract: