pkgsrc/lang/tcl/buildlink3.mk
kamil 98ef2f7eea Export TDBC_VERSION like ITCL_VERSION.
Use these versions as well in Makefile and PLIST.

It's unclear whether buildlink3.mk might include Makefile.version, this
is the reason to duplicate this information.

There are other packages that might be versioned similarily:
 - sqlite3,
 - thread.

No user-visible change in the main package.
2016-10-21 11:45:44 +00:00

32 lines
802 B
Makefile

# $NetBSD: buildlink3.mk,v 1.29 2016/10/21 11:45:44 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
TDBC_VERSION= 1.0.4
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.endif # TCL_BUILDLINK3_MK
BUILDLINK_TREE+= -tcl