aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/tcl.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mk/Uses/tcl.mk b/Mk/Uses/tcl.mk
index 11fb368c9ef6..4db96cc5e6bf 100644
--- a/Mk/Uses/tcl.mk
+++ b/Mk/Uses/tcl.mk
@@ -184,12 +184,13 @@ _TCLTK_WRAPPER_PORT= wish:x11-toolkits/tk-wrapper
.endif
# Construct the correct dependency lines (Tcl/Tk)
-. if ${_TCLTK_PORT} == "tcl"
+.if ${_TCLTK_PORT} == "tcl"
_TCLTK_EXE_LINE= tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION}
_TCLTK_LIB_LINE= libtcl${TCL_SHLIB_VER}.so:lang/tcl${_TCLTK_WANTED_VERSION}
-. elif ${_TCLTK_PORT} == "tk"
+.elif ${_TCLTK_PORT} == "tk"
_TCLTK_EXE_LINE= wish${TK_VER}:x11-toolkits/tk${_TCLTK_WANTED_VERSION}
-_TCLTK_LIB_LINE= libtk${TK_SHLIB_VER}.so:x11-toolkits/tk${_TCLTK_WANTED_VERSION}
+_TCLTK_LIB_LINE= libtk${TK_SHLIB_VER}.so:x11-toolkits/tk${_TCLTK_WANTED_VERSION} \
+ libtcl${TCL_SHLIB_VER}.so:lang/tcl${_TCLTK_WANTED_VERSION}
.endif
.if ${tcl_ARGS:Mbuild}