From f6964d35460b6d925e6d34825fbd309828a4cabb Mon Sep 17 00:00:00 2001 From: dinoex Date: Mon, 1 Nov 2004 12:53:12 +0000 Subject: - allow to overwrite TKBASE package is not changed --- x11-toolkits/tk83/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11-toolkits/tk83') diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile index 4c141e09e4a..61f37367050 100644 --- a/x11-toolkits/tk83/Makefile +++ b/x11-toolkits/tk83/Makefile @@ -325,9 +325,11 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \ .endif +TKBASE?= ${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK} + post-configure: ${REINPLACE_CMD} \ - -e 's=${WRKDIRPREFIX}${.CURDIR}=$${WRKDIRPREFIX}${PORTSDIR}/${PKGCATEGORY}/${LATEST_LINK}=' \ + -e 's|${WRKDIRPREFIX}${.CURDIR}|$${WRKDIRPREFIX}${TKBASE}|' \ ${WRKSRC}/tkConfig.sh .if !defined(WITH_TK83_MAN) ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \ -- cgit