From f1577acfd9b7c183e7640baa7a6c64334df1039c Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 1 Nov 2004 12:46:24 +0000 Subject: - allow to set TCLBASE package not changed --- lang/tcl82/Makefile | 4 +++- lang/tcl83/Makefile | 4 +++- lang/tcl84/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile index acd56e009f2f..0f3fa556332e 100644 --- a/lang/tcl82/Makefile +++ b/lang/tcl82/Makefile @@ -375,13 +375,15 @@ MLINKS= Access.3 Tcl_Access.3 \ .endif +TCLBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK} + post-extract: ${MV} ${WRKDIR}/${DISTNAME}/doc/InitStubs.3 \ ${WRKDIR}/${DISTNAME}/doc/Tcl_InitStubs.3 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_TCL82_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ 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}|' \ 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 v1.2.3