[101681] trunk/dports/graphics

Ryan Schmidt ryandesign at macports.org
Thu Jan 17 00:37:50 PST 2013


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.




More information about the macports-dev mailing list