[87075] trunk/dports/graphics/opencv/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 9 10:31:35 PST 2011


Revision: 87075
          http://trac.macports.org/changeset/87075
Author:   ryandesign at macports.org
Date:     2011-11-09 10:31:32 -0800 (Wed, 09 Nov 2011)
Log Message:
-----------
opencv: don't complain when upgrading from 2.3.1a_0 to 2.3.1a_1

Modified Paths:
--------------
    trunk/dports/graphics/opencv/Portfile

Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile	2011-11-09 17:16:24 UTC (rev 87074)
+++ trunk/dports/graphics/opencv/Portfile	2011-11-09 18:31:32 UTC (rev 87075)
@@ -90,7 +90,7 @@
     # http://stackoverflow.com/questions/7410012/unable-to-make-opencv#answer-7461541
     if {[file exists ${prefix}/lib/pkgconfig/opencv.pc]} {
         set installed_version [exec ${prefix}/bin/pkg-config ${name} --modversion]
-        if {${version} != ${installed_version}} {
+        if {${short_version} != ${installed_version}} {
             ui_error "${name} ${version} cannot be built while ${name} ${installed_version} is installed and active."
             ui_error "Please deactivate ${name} ${installed_version} first."
             return -code error "incompatible ${name} version active"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111109/80ef7239/attachment.html>


More information about the macports-changes mailing list