aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-09-19 23:22:39 +0800
committergahr <gahr@FreeBSD.org>2013-09-19 23:22:39 +0800
commitf2007f64444b512d768864bda4db411d120bcff5 (patch)
treed1983bf5f82d98db3ad563fb9607739bc4eb7e91 /Mk
parente9ad09fc748a063f7b2f6db16c2443126e642436 (diff)
downloadfreebsd-ports-gnome-f2007f64444b512d768864bda4db411d120bcff5.tar.gz
freebsd-ports-gnome-f2007f64444b512d768864bda4db411d120bcff5.tar.zst
freebsd-ports-gnome-f2007f64444b512d768864bda4db411d120bcff5.zip
- Fix on < 10
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