From 367d5427cb9454760695b1990b7f837888249f2f Mon Sep 17 00:00:00 2001 From: dinoex Date: Mon, 1 Nov 2004 12:46:24 +0000 Subject: - allow to set TCLBASE package not changed --- lang/tcl84/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lang/tcl84') 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}|' \ -- cgit