[148660] trunk/dports/audio/wavpack/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri May 13 14:15:44 PDT 2016
Revision: 148660
https://trac.macports.org/changeset/148660
Author: jeremyhu at macports.org
Date: 2016-05-13 14:15:44 -0700 (Fri, 13 May 2016)
Log Message:
-----------
wavpack: Disable asm if we can't find a good fallback compiler (#51357)
Modified Paths:
--------------
trunk/dports/audio/wavpack/Portfile
Modified: trunk/dports/audio/wavpack/Portfile
===================================================================
--- trunk/dports/audio/wavpack/Portfile 2016-05-13 20:45:26 UTC (rev 148659)
+++ trunk/dports/audio/wavpack/Portfile 2016-05-13 21:15:44 UTC (rev 148660)
@@ -28,9 +28,15 @@
depends_lib port:libiconv
-# handrolled asm has issues on older platforms
-compiler.blacklist {macports-clang-3.[34]} {clang < 500} *gcc*
+platform darwin {
+ compiler.blacklist {macports-clang-3.[34]} {clang < 500} *gcc*
+ # handrolled asm has issues on older platforms. Disable it if we don't find a good compiler.
+ if {${os.major} < 11 && ![string match "*macports*" ${configure.compiler}]} {
+ configure.args-append --disable-asm
+ }
+}
+
# if host is not set in 32-bit mode, wrong assembly code is used
if {![variant_isset universal] && ${build_arch} eq "i386"} {
configure.args-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160513/4686a088/attachment.html>
More information about the macports-changes
mailing list