[101681] trunk/dports/graphics

Ryan Schmidt ryandesign at macports.org
Thu Jan 17 01:09:24 PST 2013


On Jan 17, 2013, at 02:37, Ryan Schmidt <ryandesign at macports.org> wrote:

> On Jan 16, 2013, at 23:15, rmstonecipher at macports.org wrote:
> 
>> Revision: 101681
>>         https://trac.macports.org/changeset/101681
>> Author:   rmstonecipher at macports.org
>> Date:     2013-01-16 21:15:22 -0800 (Wed, 16 Jan 2013)
>> Log Message:
>> -----------
>> new port graphics/libjpeg-turbo is a SIMD-accelerated ABI- and API-compatible alternative to ijg libjpeg 8
>> 
>> Added Paths:
>> -----------
>>   trunk/dports/graphics/libjpeg-turbo/
>>   trunk/dports/graphics/libjpeg-turbo/Portfile
>> 
>> Added: trunk/dports/graphics/libjpeg-turbo/Portfile
>> ===================================================================
>> --- trunk/dports/graphics/libjpeg-turbo/Portfile	                        (rev 0)
>> +++ trunk/dports/graphics/libjpeg-turbo/Portfile	2013-01-17 05:15:22 UTC (rev 101681)
>> @@ -0,0 +1,37 @@
>> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
>> +# $Id$
>> +PortSystem          1.0
>> +PortGroup           muniversal 1.0
> 
>> +switch ${build_arch} {
>> +    i386 {
>> +        configure.args-append --host i686-apple-darwin
>> +    }
>> +    x86_64 {
>> +        configure.args-append --host x86_64-apple-darwin
>> +    }
>> +}
> 
> 
> I think you need to do this switch only when not building universal. And when building universal, you need to put the right args into the merger_configure_args array.

I suggest the attached patch, which fixes the universal variant, simplifies installing documentation into the right location by patching Makefile.am (since we're already running autoreconf anyway), and changes nasm to a build dependency.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 1768 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130117/2370ac44/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-Makefile.am.diff
Type: application/octet-stream
Size: 520 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130117/2370ac44/attachment-0001.obj>


More information about the macports-dev mailing list