Subject: Re: how to find perl with BUILD_DEPENDS
To: None <itojun@iijlab.net>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 02/02/2001 01:41:35
On Fri, 2 Feb 2001 itojun@iijlab.net wrote:
> BUILD_DEPENDS+= ${PERL5}:../../lang/perl5-base
> 	by doing this, the Makefile will check /usr/pkg/bin/perl.
> 	if we try to build the package on a system with perl shipped by
> 	default (like /usr/bin/perl), it will pull unnecessary dependency.

We had this sort of problems some time ago, with texinfo.
When we depend on *our* perl package, we know what gets installed.
When we depend on *some* perl package, we get a perl binary but if
some module etc. is assumed to be present, that's no longer guaranteed,
which can lead to quite funky problems. 

The conclusion then was to stick to our packages collection closely. 


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>