[91913] trunk/dports/gnome/gnome-desktop-suite/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Apr 13 00:17:35 PDT 2012


Revision: 91913
          https://trac.macports.org/changeset/91913
Author:   jeremyhu at macports.org
Date:     2012-04-13 00:17:32 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
gnome-desktop-suite: Improve yelp and gnome-sharp2 checks on +universal, don't include gnome-sharp2 on Tiger because mono doesn't build there currently

Modified Paths:
--------------
    trunk/dports/gnome/gnome-desktop-suite/Portfile

Modified: trunk/dports/gnome/gnome-desktop-suite/Portfile
===================================================================
--- trunk/dports/gnome/gnome-desktop-suite/Portfile	2012-04-13 07:07:31 UTC (rev 91912)
+++ trunk/dports/gnome/gnome-desktop-suite/Portfile	2012-04-13 07:17:32 UTC (rev 91913)
@@ -141,16 +141,16 @@
 #
 # these only build on 32 bit systems for now
 #
+if { ${build_arch} == "i386" || ${build_arch} == "ppc" ||
+     ([variant_isset universal] && ([lsearch ${universal_archs} ppc] != -1 || [lsearch ${universal_archs} i386] != -1))} {
+    depends_lib-append port:yelp
+}
 
-if { ${configure.build_arch} == "i386" || ${configure.build_arch} == "ppc" } {
-    depends_lib-append port:yelp
 #
 # mono fails on leopard ppc - #17996
 #
-
-    if {!("darwin" == ${os.platform} && 9 == ${os.major} && ${configure.build_arch} == "ppc")} {
-	depends_lib-append port:gnome-sharp2
-    }
+if {${os.major} >= 9 && (${build_arch} == "i386" || ([variant_isset universal] && [lsearch ${universal_archs} i386] != -1))} {
+    dpends_lib-append port:gnome-sharp2
 }
 
 distfiles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120413/13819de5/attachment.html>


More information about the macports-changes mailing list