diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:51:16 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:51:16 +0000 |
commit | dd4daa110ef0b5850e1a974fe64e000db65c3e6a (patch) | |
tree | e339f459af067df609a92f5f7abb15e63c95cd6e /lang/perl5 | |
parent | ce0a8db11cb3371e3f19784cfdf2fba5015c7e60 (diff) | |
download | pkgsrc-dd4daa110ef0b5850e1a974fe64e000db65c3e6a.tar.gz |
Remove mk/find-prefix.mk usage from the lang category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.
Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.
Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/buildlink3.mk | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk index 037cc1b1a96..4e7cab42991 100644 --- a/lang/perl5/buildlink3.mk +++ b/lang/perl5/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.56 2015/06/11 13:44:23 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.57 2015/11/25 12:51:17 jperkin Exp $ BUILDLINK_TREE+= perl @@ -18,9 +18,7 @@ BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5 _TOOLS_USE_PKGSRC.perl= yes -FIND_PREFIX:= PERLDIR=perl -.include "../../mk/find-prefix.mk" -PERL5= ${PERLDIR}/bin/perl +PERL5= ${LOCALBASE}/bin/perl pkgbase := perl .include "../../mk/pkg-build-options.mk" |