svn commit: r328145 - head/Mk/Uses
Pietro Cerutti
gahr at FreeBSD.org
Tue Sep 24 15:14:31 UTC 2013
Author: gahr
Date: Tue Sep 24 15:14:30 2013
New Revision: 328145
URL: http://svnweb.freebsd.org/changeset/ports/328145
Log:
- Fix handling of minimum versions (e.g., USES+=tk:84+)
Approved by: portmgr (bapt)
Modified:
head/Mk/Uses/tcl.mk
Modified: head/Mk/Uses/tcl.mk
==============================================================================
--- head/Mk/Uses/tcl.mk Tue Sep 24 15:13:26 2013 (r328144)
+++ head/Mk/Uses/tcl.mk Tue Sep 24 15:14:30 2013 (r328145)
@@ -99,8 +99,7 @@ IGNORE= USES=${_TCLTK_PORT}: incorrect $
.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
More information about the svn-ports-head
mailing list