[95563] trunk/dports/graphics/esdl/Portfile

jmr at macports.org jmr at macports.org
Mon Jul 16 18:05:56 PDT 2012


Revision: 95563
          https://trac.macports.org/changeset/95563
Author:   jmr at macports.org
Date:     2012-07-16 18:05:56 -0700 (Mon, 16 Jul 2012)
Log Message:
-----------
esdl: remove incorrect use of depends_skip_archcheck (#33052)

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

Modified: trunk/dports/graphics/esdl/Portfile
===================================================================
--- trunk/dports/graphics/esdl/Portfile	2012-07-17 01:02:30 UTC (rev 95562)
+++ trunk/dports/graphics/esdl/Portfile	2012-07-17 01:05:56 UTC (rev 95563)
@@ -20,7 +20,7 @@
                         sha1    9a4b0c993b2ebe24565c31b5beaf912635153c8f \
                         rmd160  fc1f37647ae8e9652413c0ba683743d43c149573
 
-depends_lib		port:libsdl-framework \
+depends_lib		port:libsdl \
 			port:erlang
 
 use_configure		no
@@ -34,19 +34,12 @@
 }
 
 platform darwin {
+    depends_lib-append port:libsdl-framework
     # Note: this horrible hack is needed to get ESDL to build on
     # 64-bit OS's (like Snow Leopard and Lion).  Once wxWidgets 3.0
     # is released, this can go away.
-    if {${configure.build_arch} == "x86_64"} {
-        configure.build_arch i386
-        depends_skip_archcheck libsdl-framework
-        depends_skip_archcheck xorg-randrproto
-        depends_skip_archcheck erlang
-    } elseif {${configure.build_arch} == "ppc"} {
-        configure.build_arch ppc
-        depends_skip_archcheck libsdl-framework
-        depends_skip_archcheck xorg-randrproto
-        depends_skip_archcheck erlang
+    variant wxwidgets description {Build 32-bit for compatibility with erlang +wxwidgets} {
+        supported_archs i386 ppc
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120716/d2da2b9a/attachment-0001.html>


More information about the macports-changes mailing list