2006-07-21 16:27:56 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.6 2006/07/21 14:27:56 jlam Exp $
|
2004-06-22 20:38:46 +02:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
TCLNT_BUILDLINK3_MK:= ${TCLNT_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= tclnt
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntclnt}
|
|
|
|
BUILDLINK_PACKAGES+= tclnt
|
2006-07-09 01:10:35 +02:00
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tclnt
|
2004-06-22 20:38:46 +02:00
|
|
|
|
|
|
|
.if !empty(TCLNT_BUILDLINK3_MK:M+)
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.tclnt+= libtcl-nothread>=8.4.6
|
|
|
|
BUILDLINK_ABI_DEPENDS.tclnt+= libtcl-nothread>=8.4.6nb1
|
2004-06-22 20:38:46 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.tclnt?= ../../lang/libtcl-nothread
|
|
|
|
|
|
|
|
BUILDLINK_FILES.tcl= bin/tclsh*
|
|
|
|
#
|
|
|
|
# Make "-ltcl" and "-ltcl8.4" resolve into "-ltcl84", so that we don't
|
|
|
|
# need to patch so many Makefiles.
|
|
|
|
#
|
|
|
|
BUILDLINK_TRANSFORM+= l:tcl:tcl84-nothread
|
|
|
|
BUILDLINK_TRANSFORM+= l:tcl8.4:tcl84-nothread
|
|
|
|
|
|
|
|
TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig-nothread.sh
|
2006-07-21 16:27:56 +02:00
|
|
|
PKGSRC_MAKE_ENV+= _TCL_NOTHREAD=yes
|
2004-06-22 20:38:46 +02:00
|
|
|
|
|
|
|
.endif # TCLNT_BUILDLINK3_MK
|
|
|
|
|
|
|
|
_TCL_NOTHREAD= yes
|
|
|
|
.include "../../lang/tcl/buildlink3.mk"
|
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|