Subject: How to handle perl module dependency?
To: None <tech-pkg@NetBSD.org>
From: OBATA Akio <obata@lins.jp>
List: tech-pkg
Date: 10/22/2006 17:38:41
Hi,

How to handle dependency about perl module which is already included in
perl base package?

For example, Test::Simple module, Perl 5.8.8 includes v0.62, 5.8.7 includes v0.54.
Now, PERL5_REQD+=5.8.7 in lang/perl5/buildlink3.mk, so if require 
version is below 0.54, no need to depend on devel/p5-Test-Simple.

Put this specification on each packages?
DEPENDS+={perl>=5.8.8,p5-Test-Simple=>0.61}:../../devel/p5-Test-Simple
This makes hard to maintain each package, maintainer must aware of 
version each perl base package including. 
Or should write something like buildlink3.mk and builtin.mk?
--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp