diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:54:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:54:23 +0000 |
commit | dd9b059aed8be7b6979127439c2494c374a4f149 (patch) | |
tree | 7c8a49ec5fb0f6949ddf37f991e7e0fee4f4948c /x11/tk | |
parent | f194077636b67baa483a627587f94283342d40fa (diff) | |
download | pkgsrc-dd9b059aed8be7b6979127439c2494c374a4f149.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')
-rw-r--r-- | x11/tk/buildlink3.mk | 6 |
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" |