-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/22/10 7:43 AM, Koen van der Drift wrote:
> 
>> I'm running unstable fink on OS X 10.6 on Intel.   data-section-pm5100
>> fails to build, failing with:
>>
>> Reading dependency for data-section-pm5100-0.100770-1...
>> Reading build dependency for data-section-pm5100-0.100770-1...
>> WARNING: While resolving dependency "mro-compat-pm5100" for package
>> "data-section-pm5100-0.100770-1", package "mro-compat-pm5100" was  
>> not found.
>> Can't resolve dependency "mro-compat-pm5100" for package
>> "data-section-pm5100-0.100770-1" (no matching packages/versions found)
>> Exiting with failure.
>>
>> The ReadMe for MRO-Compat says:
>>
>> http://cpansearch.perl.org/src/FLORA/MRO-Compat-0.11/README
>>
>>     The "mro" namespace provides several utilities for dealing with  
>> method
>>     resolution order and method caching in general in Perl 5.9.5 and
>> higher.
>>
>>     ....
>>
>>     It is a harmless no-op to use this module on 5.9.5+. That is to  
>> say,
>>     code which properly uses MRO::Compat will work unmodified on  
>> both older
>>     Perls and 5.9.5+.
>>
>>     If you're writing a piece of software that would like to use the  
>> parts
>>     of 5.9.5+'s mro:: interfaces that are supported here, and you want
>>     compatibility with older Perls, this is the module for you.
>>
>> I' think this means that MRO-Compat is not needed for Perl 5.10,  
>> thus it
>> should not be a dependency.  But maybe I'm misreading things.
> 
> 
> mro-compat-pm does not have a 5.10 version, adding that should fix  
> this (maintainer cc'ed).
> 
> If not, I'm happy to fix it, but how do I make dependencies  
> conditional on OS X versions?
> 
> - Koen.
> 
> 

You'd need to use a separate .info file, since we don't have a percent
expansion for the OS version.

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv34DoACgkQB8UpO3rKjQ8sFACfUIpjJdNH47Oq9nQUdyOlSB2z
HScAn3wv9gBoUSh8JmGVs3w9NWUVBIAg
=NuW1
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------

_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to