[136594] trunk/dports/graphics/libjpeg-turbo/Portfile
larryv at macports.org
larryv at macports.org
Fri May 22 15:19:40 PDT 2015
Revision: 136594
https://trac.macports.org/changeset/136594
Author: larryv at macports.org
Date: 2015-05-22 15:19:40 -0700 (Fri, 22 May 2015)
Log Message:
-----------
libjpeg-turbo: Fix universal build (#42361)
Modified Paths:
--------------
trunk/dports/graphics/libjpeg-turbo/Portfile
Modified: trunk/dports/graphics/libjpeg-turbo/Portfile
===================================================================
--- trunk/dports/graphics/libjpeg-turbo/Portfile 2015-05-22 22:19:38 UTC (rev 136593)
+++ trunk/dports/graphics/libjpeg-turbo/Portfile 2015-05-22 22:19:40 UTC (rev 136594)
@@ -41,14 +41,13 @@
--with-jpeg8 \
NASM=${prefix}/bin/nasm
-switch ${build_arch} {
- i386 {
- configure.args-append --host i686-apple-darwin
- }
- x86_64 {
- configure.args-append --host x86_64-apple-darwin
- }
+array set merger_host {
+ x86_64 x86_64-apple-darwin
+ i386 i686-apple-darwin
}
+if {![variant_isset universal]} {
+ configure.args-append --host=$merger_host(${configure.build_arch})
+}
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150522/531a24ce/attachment.html>
More information about the macports-changes
mailing list