[66374] trunk/dports/aqua/gimp-app/Portfile
Ryan Schmidt
ryandesign at macports.org
Sat Apr 10 13:04:02 PDT 2010
On Apr 10, 2010, at 14:44, Rainer Müller wrote:
> 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.
Wait, why is it right to skip the dependency archcheck? If gimp2 is installed for x86_64, how are you able to install its dependent gimp-app for i386?
More information about the macports-dev
mailing list