summaryrefslogtreecommitdiff
path: root/x11/tk/buildlink3.mk
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-11-25 12:54:23 +0000
committerjperkin <jperkin>2015-11-25 12:54:23 +0000
commitea4b234e5ee1a35196af4670b5c8bd06a64104b7 (patch)
tree7c8a49ec5fb0f6949ddf37f991e7e0fee4f4948c /x11/tk/buildlink3.mk
parent9f0b1972f1be25d144a66417ea8733aca7da5ec8 (diff)
downloadpkgsrc-ea4b234e5ee1a35196af4670b5c8bd06a64104b7.tar.gz
Remove mk/find-prefix.mk usage from the x11 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 'x11/tk/buildlink3.mk')
-rw-r--r--x11/tk/buildlink3.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/x11/tk/buildlink3.mk b/x11/tk/buildlink3.mk
index 4636860c5f1..cf8e978a73a 100644
--- a/x11/tk/buildlink3.mk
+++ b/x11/tk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.34 2014/01/11 14:41:05 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.35 2015/11/25 12:54:23 jperkin Exp $
BUILDLINK_TREE+= tk
@@ -21,9 +21,7 @@ TKCONFIG_SH?= ${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh
_TOOLS_USE_PKGSRC.wish= yes
-FIND_PREFIX:= TOOLS_PREFIX.wish=tk
-.include "../../mk/find-prefix.mk"
-WISH= ${TOOLS_PREFIX.wish}/bin/wish
+WISH= ${LOCALBASE}/bin/wish
pkgbase := tk
.include "../../mk/pkg-build-options.mk"