[88918] trunk/dports/graphics

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 20:03:23 PST 2012


Revision: 88918
          http://trac.macports.org/changeset/88918
Author:   ryandesign at macports.org
Date:     2012-01-14 20:03:23 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
cairo, cairo-devel: rpm-vercomp => vercmp

Modified Paths:
--------------
    trunk/dports/graphics/cairo/Portfile
    trunk/dports/graphics/cairo-devel/Portfile

Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile	2012-01-15 04:02:02 UTC (rev 88917)
+++ trunk/dports/graphics/cairo/Portfile	2012-01-15 04:03:23 UTC (rev 88918)
@@ -54,7 +54,7 @@
 pre-configure {
     set pixman_minimum_version 0.18.4
     set pixman_installed_version [exec ${prefix}/bin/pkg-config pixman-1 --modversion]
-    if {[rpm-vercomp ${pixman_installed_version} ${pixman_minimum_version}] < 0} {
+    if {[vercmp ${pixman_installed_version} ${pixman_minimum_version}] < 0} {
         ui_error "${name} ${version} requires libpixman ${pixman_minimum_version} or later but you have libpixman ${pixman_installed_version}."
         return -code error "incompatible libpixman version"
     }

Modified: trunk/dports/graphics/cairo-devel/Portfile
===================================================================
--- trunk/dports/graphics/cairo-devel/Portfile	2012-01-15 04:02:02 UTC (rev 88917)
+++ trunk/dports/graphics/cairo-devel/Portfile	2012-01-15 04:03:23 UTC (rev 88918)
@@ -54,7 +54,7 @@
 pre-configure {
     set pixman_minimum_version 0.20.2
     set pixman_installed_version [exec ${prefix}/bin/pkg-config pixman-1 --modversion]
-    if {[rpm-vercomp ${pixman_installed_version} ${pixman_minimum_version}] < 0} {
+    if {[vercmp ${pixman_installed_version} ${pixman_minimum_version}] < 0} {
         ui_error "${name} ${version} requires libpixman ${pixman_minimum_version} or later but you have libpixman ${pixman_installed_version}."
         return -code error "incompatible libpixman version"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/de817209/attachment.html>


More information about the macports-changes mailing list