[152391] trunk/dports/devel/libsdl/Portfile

jmr at macports.org jmr at macports.org
Tue Sep 6 22:53:28 PDT 2016


Revision: 152391
          https://trac.macports.org/changeset/152391
Author:   jmr at macports.org
Date:     2016-09-06 22:53:28 -0700 (Tue, 06 Sep 2016)
Log Message:
-----------
libsdl: fix build failure on ppc tiger (#50032)

Modified Paths:
--------------
    trunk/dports/devel/libsdl/Portfile

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2016-09-06 22:39:04 UTC (rev 152390)
+++ trunk/dports/devel/libsdl/Portfile	2016-09-07 05:53:28 UTC (rev 152391)
@@ -46,6 +46,13 @@
     }
 }
 
+platform darwin 8 powerpc {
+    if {![catch {sysctl hw.vectorunit} result] && $result > 0} {
+        # Work around buggy header. https://trac.macports.org/ticket/50032
+        configure.cflags-append -faltivec
+    }
+}
+
 variant x11 {
     configure.args-delete --without-x
     configure.args-append --x-includes=${prefix}/include \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160906/a6c3334e/attachment.html>


More information about the macports-changes mailing list