svn commit: r419229 - branches/2016Q3/Mk/Uses
David Naylor
dbn at FreeBSD.org
Fri Jul 29 07:22:55 UTC 2016
Author: dbn
Date: Fri Jul 29 07:22:53 2016
New Revision: 419229
URL: https://svnweb.freebsd.org/changeset/ports/419229
Log:
MFH: r418990
Mk/Uses/tcl.mk: fix stage-qa linking error.
- If a port links to libtk then it will always also link to libtcl. Include
libtcl in the LIB_DEPENDS when linking to libtk.
- Fix indentation of '.if' statements
PR: 211261
Approved by: ports-secteam (feld), gahr
Modified:
branches/2016Q3/Mk/Uses/tcl.mk
Directory Properties:
branches/2016Q3/ (props changed)
Modified: branches/2016Q3/Mk/Uses/tcl.mk
==============================================================================
--- branches/2016Q3/Mk/Uses/tcl.mk Fri Jul 29 05:43:30 2016 (r419228)
+++ branches/2016Q3/Mk/Uses/tcl.mk Fri Jul 29 07:22:53 2016 (r419229)
@@ -184,12 +184,13 @@ _TCLTK_WRAPPER_PORT= wish:x11-toolkits/t
.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}
More information about the svn-ports-branches
mailing list