aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-10-29 01:08:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-10-29 01:08:53 +0800
commita3582508c6226ffe946fcc046247a04c29148835 (patch)
tree193c052868e7033512c30235afa4b37b8a2554a5 /x11-toolkits/tk84
parentdcb18775d681b74a37dfbb7dbfbf08809b72918f (diff)
downloadfreebsd-ports-gnome-a3582508c6226ffe946fcc046247a04c29148835.tar.gz
freebsd-ports-gnome-a3582508c6226ffe946fcc046247a04c29148835.tar.zst
freebsd-ports-gnome-a3582508c6226ffe946fcc046247a04c29148835.zip
- detect unsupported configuration
Diffstat (limited to 'x11-toolkits/tk84')
-rw-r--r--x11-toolkits/tk84/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index 1438c5a70a97..7def498b9af8 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -351,6 +351,8 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
.endif
+TCL_CHECK!= ( cd ${PORTSDIR}/${PKGCATEGORY}/${TCL84_PORT} && make WRKDIRPREFIX= -V WRKSRC | sed -e 's|/unix$$||' )
+
pre-everything::
@if ${TEST} -e "${NONEXISTENT}"; then ${ECHO_MSG} "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi
@@ -366,6 +368,7 @@ post-configure:
${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
${WRKSRC}/Makefile
.endif
+ @if ! grep "TCL_SRC_DIR=.\$${WRKDIRPREFIX}${TCL_CHECK}" "${LOCALBASE}/lib/tcl8.4/tclConfig.sh"; then ${ECHO_MSG} "=== Aborted, this configuration is not supported, set PORTSDIR and rebuild tcl84"; exit 1; fi
post-install:
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/