[71290] trunk/dports/graphics/gimp/Portfile

devans at macports.org devans at macports.org
Tue Sep 7 15:48:38 PDT 2010


Revision: 71290
          http://trac.macports.org/changeset/71290
Author:   devans at macports.org
Date:     2010-09-07 15:48:37 -0700 (Tue, 07 Sep 2010)
Log Message:
-----------
gimp: add +quartz variant and don't build ufraw if set and target is 64-bit, see #23675.

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

Modified: trunk/dports/graphics/gimp/Portfile
===================================================================
--- trunk/dports/graphics/gimp/Portfile	2010-09-07 22:47:03 UTC (rev 71289)
+++ trunk/dports/graphics/gimp/Portfile	2010-09-07 22:48:37 UTC (rev 71290)
@@ -34,9 +34,19 @@
     # these use the deprecated QuickDraw API that is not available
     # in a 64-bit version - ticket #21391
     #
-    if { "darwin" == ${os.platform} && ![string match *64* $build_arch] } {
-        depends_lib-append  port:macclipboard-gimp \
-                            port:macfile-gimp
+    # if +quartz is set, remove ufraw which uses CMFlattenProfile if gtk2 is
+    # built with Quartz support and is also not availabe in a 64-bit version 
+    # ticket #23675 
+    #
+    if { "darwin" == ${os.platform} } { 
+        if { ![string match *64* $build_arch] } {
+            depends_lib-append  port:macclipboard-gimp \
+                                port:macfile-gimp
+        } else {
+            if {[variant_isset quartz]} {
+                depends_lib-delete port:ufraw
+            }
+        }
     }
 }
 
@@ -59,6 +69,8 @@
     depends_lib-append  port:gimp-user-manual
 }
 
+variant quartz {}
+
 livecheck.type  regex
 livecheck.url   ftp://ftp.gimp.org/pub/gimp/v${branch}/
 livecheck.regex "gimp-(${branch}(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100907/46879037/attachment-0001.html>


More information about the macports-changes mailing list