aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-09-24 15:14:30 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-09-24 15:14:30 +0000
commit300da08eeedca315d9aec5ac6a94156c529f6ffa (patch)
tree34521de445341324c5c26b9fe4551a30c6ead7e6
parent1f171325686fff449edcdc221987d6e02ccf5ba2 (diff)
Notes
-rw-r--r--Mk/Uses/tcl.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mk/Uses/tcl.mk b/Mk/Uses/tcl.mk
index 04ff887293d7..65230321c054 100644
--- a/Mk/Uses/tcl.mk
+++ b/Mk/Uses/tcl.mk
@@ -99,8 +99,7 @@ IGNORE= USES=${_TCLTK_PORT}: incorrect ${_TCLTK_PORT} version specified: ${_TCLT
.if defined(_TCLTK_MIN_VERSION)
. for _v in ${_TCLTK_VALID_VERSIONS}
-. if ${_TCLTK_MIN_VERSION} < ${_v} || !exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}${_v}.so)
-. else
+. if ${_TCLTK_MIN_VERSION} <= ${_v} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}${_v}.so)
_TCLTK_WANTED_VERSION= ${_v}
. endif
. endfor