summaryrefslogtreecommitdiff
path: root/lang/tcl85
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
commitdd4daa110ef0b5850e1a974fe64e000db65c3e6a (patch)
treee339f459af067df609a92f5f7abb15e63c95cd6e /lang/tcl85
parentce0a8db11cb3371e3f19784cfdf2fba5015c7e60 (diff)
downloadpkgsrc-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/tcl85')
-rw-r--r--lang/tcl85/buildlink3.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/lang/tcl85/buildlink3.mk b/lang/tcl85/buildlink3.mk
index 670a6f59f6f..0c2560fb3c4 100644
--- a/lang/tcl85/buildlink3.mk
+++ b/lang/tcl85/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2014/03/17 00:04:43 asau Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2015/11/25 12:51:17 jperkin Exp $
BUILDLINK_TREE+= tcl
@@ -17,13 +17,10 @@ BUILDLINK_FILES.tcl+= bin/tclsh*
BUILDLINK_TRANSFORM+= l:tcl:tcl85
BUILDLINK_TRANSFORM+= l:tcl8.5:tcl85
-TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
-
_TOOLS_USE_PKGSRC.tclsh= yes
-FIND_PREFIX:= TOOLS_PREFIX.tclsh=tcl
-.include "../../mk/find-prefix.mk"
-TCLSH= ${TOOLS_PREFIX.tclsh}/bin/tclsh
+TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
+TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"