tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Perl5 update



On 2014年6月03日 22:23:39 +0900, Edgar Fuß <ef%math.uni-bonn.de@localhost> 
wrote:
Shouldn't there be an infrastructure mechanism that allows a Perl Module's
Makefile to express either
 I need Foo::Bar 47.11, and I assume it's in Core
(which sets PKG_FAIL_REASON if that assertion is false)
or better
 I need Foo::Bar 47.11, take it from Core or devel/p5-Foo-Bar
(adding a dependency on the latter if the former is false)?
I don't think that would be too hard to implement. You need a pre-digested
corelist output in lang/perl5/somewhere, an fgrep and a version comparison.
You could even automatically add a CONFLICTS+= p5-Foo-Bar if you take
Foo::Bar from Core. I guess Perl Module packages automatically depend on
"this Perl Version and not the next one", don't tey?
Do I overlook something?
Foo::Bar::Baz perl module is not always in p5-Foo-Bar-Baz package.
--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /