2006-07-09 01:10:35 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:10:56 jlam Exp $
|
2004-01-04 00:06:43 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
TCL_BUILDLINK3_MK:= ${TCL_BUILDLINK3_MK}+
|
|
|
|
|
2004-01-05 00:34:04 +01:00
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
2004-01-04 00:06:43 +01:00
|
|
|
BUILDLINK_DEPENDS+= tcl
|
|
|
|
.endif
|
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl}
|
|
|
|
BUILDLINK_PACKAGES+= tcl
|
2006-07-09 01:10:35 +02:00
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl
|
2004-03-05 20:25:06 +01:00
|
|
|
|
2004-01-05 00:34:04 +01:00
|
|
|
.if !empty(TCL_BUILDLINK3_MK:M+)
|
2006-04-27 10:17:09 +02:00
|
|
|
BUILDLINK_API_DEPENDS.tcl+= tcl>=8.4.6nb1
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.tcl+= tcl>=8.4.7nb1
|
2004-01-05 00:34:04 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.tcl?= ../../lang/tcl
|
|
|
|
|
2006-04-27 10:17:09 +02:00
|
|
|
BUILDLINK_FILES.tcl+= bin/tclsh*
|
2004-01-04 00:06:43 +01:00
|
|
|
#
|
2004-04-10 01:37:28 +02:00
|
|
|
# Make "-ltcl" and "-ltcl8.4" resolve into "-ltcl84", so that we don't
|
|
|
|
# need to patch so many Makefiles.
|
2004-01-04 00:06:43 +01:00
|
|
|
#
|
2004-03-08 20:55:35 +01:00
|
|
|
BUILDLINK_TRANSFORM+= l:tcl:tcl84
|
2004-04-10 01:37:28 +02:00
|
|
|
BUILDLINK_TRANSFORM+= l:tcl8.4:tcl84
|
2004-01-04 00:06:43 +01:00
|
|
|
|
|
|
|
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
|
2004-03-05 20:25:06 +01:00
|
|
|
|
2004-10-30 07:48:51 +02:00
|
|
|
PRINT_PLIST_AWK+= /^@dirrm lib\/tcl$$/ \
|
|
|
|
{ print "@comment in tcl: " $$0; next; }
|
2004-01-04 00:06:43 +01:00
|
|
|
.endif # TCL_BUILDLINK3_MK
|
|
|
|
|
2004-11-25 23:55:54 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2004-03-25 23:45:27 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|