[66374] trunk/dports/aqua/gimp-app/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Apr 10 12:16:23 PDT 2010
On Apr 10, 2010, at 13:25, raimue at macports.org wrote:
> Revision: 66374
> http://trac.macports.org/changeset/66374
> Author: raimue at macports.org
> Date: 2010-04-10 11:25:30 -0700 (Sat, 10 Apr 2010)
> Log Message:
> -----------
> aqua/gimp-app: Fix build on x86_64
>
> Modified Paths:
> --------------
> trunk/dports/aqua/gimp-app/Portfile
>
> Modified: trunk/dports/aqua/gimp-app/Portfile
> ===================================================================
> --- trunk/dports/aqua/gimp-app/Portfile 2010-04-10 17:54:41 UTC (rev 66373)
> +++ trunk/dports/aqua/gimp-app/Portfile 2010-04-10 18:25:30 UTC (rev 66374)
> @@ -74,6 +74,11 @@
> "
> }
>
> +# Does not build 64-bit due to Carbon, works fine with i386 only
> +platform darwin 10 {
> + configure.build_arch i386
> +}
Since this problem is not specific to Snow Leopard (merely most commonly observed there), it would be better to fix this kind of problem with the following code:
if {[info exists supported_archs]} {
supported_archs i386 ppc
}
switch ${configure.build_arch} {
x86_64 {
configure.build_arch i386
}
ppc64 {
configure.build_arch ppc
}
}
More information about the macports-dev
mailing list