[147090] trunk/dports/audio/wavpack/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Mar 26 07:38:44 PDT 2016


Revision: 147090
          https://trac.macports.org/changeset/147090
Author:   mcalhoun at macports.org
Date:     2016-03-26 07:38:44 -0700 (Sat, 26 Mar 2016)
Log Message:
-----------
wavpack: ensure correct assembly code is used in 32-bit mode by setting host
no revbump since wavpack builds correctly or not at all

Modified Paths:
--------------
    trunk/dports/audio/wavpack/Portfile

Modified: trunk/dports/audio/wavpack/Portfile
===================================================================
--- trunk/dports/audio/wavpack/Portfile	2016-03-26 11:07:48 UTC (rev 147089)
+++ trunk/dports/audio/wavpack/Portfile	2016-03-26 14:38:44 UTC (rev 147090)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           muniversal 1.0
 
 name                wavpack
 version             4.75.2
@@ -32,6 +33,16 @@
     configure.args  --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 \
+        --host=i686-apple-${os.platform}${os.version}
+}
+if { [variant_isset universal] } {
+    lappend merger_configure_args(i386) \
+        --host=i686-apple-${os.platform}${os.version}
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}/downloads.html
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160326/3b05b3a7/attachment.html>


More information about the macports-changes mailing list