blob: 80e9cebc8941416aacb74ca55ddbeca0edcfd6bb (
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
30
31
|
# $NetBSD: buildlink2.mk,v 1.2 2004/04/24 22:41:20 wiz Exp $
.if !defined(TCL_BUILDLINK2_MK)
TCL_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= tcl
BUILDLINK_DEPENDS.tcl?= tcl-8.3.4*
BUILDLINK_PKGSRCDIR.tcl?= ../../lang/tcl83
EVAL_PREFIX+= BUILDLINK_PREFIX.tcl=tcl
BUILDLINK_PREFIX.tcl_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.tcl= bin/tclsh*
BUILDLINK_FILES.tcl+= include/tcl.h
BUILDLINK_FILES.tcl+= include/tclDecls.h
BUILDLINK_FILES.tcl+= include/tclPlatDecls.h
BUILDLINK_FILES.tcl+= include/tcl/*/*.h
BUILDLINK_FILES.tcl+= lib/libtcl83.*
BUILDLINK_FILES.tcl+= lib/libtclstub83.*
# Make "-ltcl" resolve into "-ltcl83", so that we don't need to patch so
# many Makefiles.
#
BUILDLINK_TRANSFORM+= l:tcl:tcl83
BUILDLINK_TARGETS+= tcl-buildlink
tcl-buildlink: _BUILDLINK_USE
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
.endif # TCL_BUILDLINK2_MK
|