blob: 0c2560fb3c4a80e8b362e172d8cb5723abe89c78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: buildlink3.mk,v 1.3 2015/11/25 12:51:17 jperkin Exp $
BUILDLINK_TREE+= tcl
.if !defined(TCL_BUILDLINK3_MK)
TCL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.tcl+= tcl>=8.5.7<8.6
BUILDLINK_ABI_DEPENDS.tcl+= tcl>=8.5.7<8.6
BUILDLINK_PKGSRCDIR.tcl?= ../../lang/tcl85
BUILDLINK_FILES.tcl+= bin/tclsh*
#
# Make "-ltcl" and "-ltcl8.5" resolve into "-ltcl85", so that we don't
# need to patch so many Makefiles.
#
BUILDLINK_TRANSFORM+= l:tcl:tcl85
BUILDLINK_TRANSFORM+= l:tcl8.5:tcl85
_TOOLS_USE_PKGSRC.tclsh= yes
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.endif # TCL_BUILDLINK3_MK
BUILDLINK_TREE+= -tcl
|