[66374] trunk/dports/aqua/gimp-app/Portfile
Rainer Müller
raimue at macports.org
Sat Apr 10 12:44:48 PDT 2010
On 2010-04-10 21:16 , Ryan Schmidt wrote:
> 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
> }
> }
You are right. My fix seems to be wrong anyway. Using trunk, I did 'port
-n upgrade --force gimp-app' to test my changes to build_arch and it worked.
But '-n' seems to disable the archcheck (quite reasonable) which makes
it now result in:
Error: Cannot install gimp-app for the arch(s) 'i386' because
Error: its dependency gimp2 is only installed for the arch 'x86_64'
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch
Fixed in r66378 by using depends_skip_archcheck with your proposed
changes as well.
Rainer
More information about the macports-dev
mailing list