summaryrefslogtreecommitdiff
path: root/lang/gcc34
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:16 +0000
committerjperkin <jperkin@pkgsrc.org>2015-11-25 12:51:16 +0000
commitd79b928ed75cfd495e44622e21345f94071aab4c (patch)
treee339f459af067df609a92f5f7abb15e63c95cd6e /lang/gcc34
parent13fff98b6f47f54109f1f95e08c9d7d8ce137bb7 (diff)
downloadpkgsrc-d79b928ed75cfd495e44622e21345f94071aab4c.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/gcc34')
-rw-r--r--lang/gcc34/buildlink3.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/lang/gcc34/buildlink3.mk b/lang/gcc34/buildlink3.mk
index b4ab92bb916..13903279d74 100644
--- a/lang/gcc34/buildlink3.mk
+++ b/lang/gcc34/buildlink3.mk
@@ -1,13 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.22 2014/09/06 08:20:29 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2015/11/25 12:51:16 jperkin Exp $
BUILDLINK_TREE+= gcc34
.if !defined(GCC34_BUILDLINK3_MK)
GCC34_BUILDLINK3_MK:=
-FIND_PREFIX:= BUILDLINK_PREFIX.gcc34=gcc34
-.include "../../mk/find-prefix.mk"
-
_GCC34_SUBDIR= gcc34
_GCC34_PREFIX= ${BUILDLINK_PREFIX.gcc34}/${_GCC34_SUBDIR}