From d79b928ed75cfd495e44622e21345f94071aab4c Mon Sep 17 00:00:00 2001 From: jperkin Date: Wed, 25 Nov 2015 12:51:16 +0000 Subject: 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. --- lang/gcc49/buildlink3.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lang/gcc49') diff --git a/lang/gcc49/buildlink3.mk b/lang/gcc49/buildlink3.mk index ac1cb5a15b0..1573d18af4b 100644 --- a/lang/gcc49/buildlink3.mk +++ b/lang/gcc49/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.2 2014/09/06 08:20:29 jperkin Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2015/11/25 12:51:17 jperkin Exp $ BUILDLINK_TREE+= gcc49 @@ -10,8 +10,6 @@ BUILDLINK_ABI_DEPENDS.gcc49+= gcc49>=4.9.1 BUILDLINK_PKGSRCDIR.gcc49= ../../lang/gcc49 BUILDLINK_DEPMETHOD.gcc49?= build -FIND_PREFIX:= BUILDLINK_PREFIX.gcc49=gcc49 -.include "../../mk/find-prefix.mk" BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc49}/gcc49 BUILDLINK_FILES.gcc49= #empty -- cgit v1.2.3