[87803] trunk/dports/devel/evas/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Dec 6 18:06:43 PST 2011
Revision: 87803
http://trac.macports.org/changeset/87803
Author: ryandesign at macports.org
Date: 2011-12-06 18:06:41 -0800 (Tue, 06 Dec 2011)
Log Message:
-----------
evas: Use clang only where it exists: on Snow Leopard and up; on Leopard and earlier, disable SSE3 to avoid the error
Modified Paths:
--------------
trunk/dports/devel/evas/Portfile
Modified: trunk/dports/devel/evas/Portfile
===================================================================
--- trunk/dports/devel/evas/Portfile 2011-12-07 01:57:14 UTC (rev 87802)
+++ trunk/dports/devel/evas/Portfile 2011-12-07 02:06:41 UTC (rev 87803)
@@ -35,15 +35,21 @@
configure.args --disable-doc \
--enable-buffer
-# gcc-4.2 and llvm-gcc-4.2 give: error: immintrin.h: No such file or directory
-# http://trac.enlightenment.org/e/ticket/942
-configure.compiler clang
-
# http://trac.enlightenment.org/e/ticket/503
# --enable-gl-x11
use_parallel_build yes
+platform darwin i386 {
+ # http://trac.enlightenment.org/e/ticket/942
+ if {${os.major} >= 10} {
+ # Clang has immintrin.h which is needed for evas to build with SSE3 optimizations.
+ configure.compiler clang
+ } else {
+ configure.args-append --disable-cpu-sse3
+ }
+}
+
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ${name}-(\[0-9a-z.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111206/8f2dc68c/attachment.html>
More information about the macports-changes
mailing list