aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-09-19 15:22:39 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-09-19 15:22:39 +0000
commitbe6d645e4f92197e6bf5de3387380c94f6fb3ceb (patch)
treed1983bf5f82d98db3ad563fb9607739bc4eb7e91 /Mk
parent0c38c9fae20fcfe5d266cfa58c8ffa292cad1036 (diff)
downloadports-be6d645e4f92197e6bf5de3387380c94f6fb3ceb.tar.gz
ports-be6d645e4f92197e6bf5de3387380c94f6fb3ceb.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/tcl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/tcl.mk b/Mk/Uses/tcl.mk
index 5e0f66250e5e..04ff887293d7 100644
--- a/Mk/Uses/tcl.mk
+++ b/Mk/Uses/tcl.mk
@@ -99,7 +99,8 @@ IGNORE= USES=${_TCLTK_PORT}: incorrect ${_TCLTK_PORT} version specified: ${_TCLT
.if defined(_TCLTK_MIN_VERSION)
. for _v in ${_TCLTK_VALID_VERSIONS}
-. if ${_v} >= ${_TCLTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}${_v}.so)
+. if ${_TCLTK_MIN_VERSION} < ${_v} || !exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}${_v}.so)
+. else
_TCLTK_WANTED_VERSION= ${_v}
. endif
. endfor