pkgsrc/lang/tcl/buildlink3.mk
kamil fecc036ecf Provide bundled itcl version (ITCL_VERSION) in buildlink3.mk
Packages need to know files with ITCL of current TCL version.
2016-10-21 01:44:24 +00:00

31 lines
781 B
Makefile

# $NetBSD: buildlink3.mk,v 1.28 2016/10/21 01:44:24 kamil Exp $
BUILDLINK_TREE+= tcl
.if !defined(TCL_BUILDLINK3_MK)
TCL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.tcl+= tcl>=8.5.7
BUILDLINK_ABI_DEPENDS.tcl+= tcl>=8.6.1nb1
BUILDLINK_PKGSRCDIR.tcl?= ../../lang/tcl
BUILDLINK_FILES.tcl+= bin/tclsh*
#
# Make "-ltcl" and "-ltcl8.6" resolve into "-ltcl86", so that we don't
# need to patch so many Makefiles.
#
BUILDLINK_TRANSFORM+= l:tcl:tcl86
BUILDLINK_TRANSFORM+= l:tcl8.6:tcl86
_TOOLS_USE_PKGSRC.tclsh= yes
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
TCLSH= ${BUILDLINK_PREFIX.tcl}/bin/tclsh
# Bundled library
ITCL_VERSION= 4.0.5
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.endif # TCL_BUILDLINK3_MK
BUILDLINK_TREE+= -tcl