[153646] trunk/dports/devel/gpgme/Portfile
devans at macports.org
devans at macports.org
Thu Oct 6 20:00:43 CEST 2016
Revision: 153646
https://trac.macports.org/changeset/153646
Author: devans at macports.org
Date: 2016-10-06 11:00:43 -0700 (Thu, 06 Oct 2016)
Log Message:
-----------
gpgme: correct version comparison in deactivate hack (again).
Modified Paths:
--------------
trunk/dports/devel/gpgme/Portfile
Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- trunk/dports/devel/gpgme/Portfile 2016-10-06 17:53:30 UTC (rev 153645)
+++ trunk/dports/devel/gpgme/Portfile 2016-10-06 18:00:43 UTC (rev 153646)
@@ -87,7 +87,7 @@
if {![catch {set installed [lindex [registry_active kdepimlibs4] 0]}]} {
set _version [lindex $installed 1]
set _revision [lindex $installed 2]
- if {[vercmp $_version 4.14.3] <= 0 && $_revision < 4} {
+ if {[vercmp $_version 4.14.3] < 0 || ([vercmp $_version 4.14.3] == 0 && $_revision < 4)} {
registry_deactivate_composite kdepimlibs4 "" [list ports_nodepcheck 1]
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161006/de92e2e0/attachment-0002.html>
More information about the macports-changes
mailing list