Subject: Perl gets build even if installed on non-NetBSD platforms with perl
To: None <tech-pkg@netbsd.org>
From: Jonathan Schleifer <js@h3c.de>
List: tech-pkg
Date: 07/25/2005 14:21:10
I just installed pkgsrc on my Linux box as well because I like it. After
building a few things I came to packages that need perl. Well, pkgsrc
startet to build perl 5.8.6, but that's exactly the version I already
have installed in /usr. I guess that's also a problem on OpenBSD
-current, since they have perl also in base. My suggestion would be a
mk/perl.mk file that is included instead of lang/perl/buildlink3.mk.
That file should check if there's the required perl version in /usr or
/usr/local and only build the perl that comes with pkgsrc if it's not
found or if the found version is outdated.

Any other ideas? Feedback?

-- 
Jonathan