diff options
Diffstat (limited to 'lang/tcl/buildlink3.mk')
-rw-r--r-- | lang/tcl/buildlink3.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/tcl/buildlink3.mk b/lang/tcl/buildlink3.mk new file mode 100644 index 00000000000..f07d0b27dd9 --- /dev/null +++ b/lang/tcl/buildlink3.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TCL_BUILDLINK3_MK:= ${TCL_BUILDLINK3_MK}+ + +.if !empty(TCL_BUILDLINK3_MK:M\+) +BUILDLINK_DEPENDS.tcl?= tcl>=8.3.4 +BUILDLINK_PKGSRCDIR.tcl?= ../../lang/tcl +.endif # TCL_BUILDLINK3_MK + +.if !empty(BUILDLINK_DEPTH:M\+) +BUILDLINK_DEPENDS+= tcl +.endif + +.if !empty(TCL_BUILDLINK3_MK:M\+) +BUILDLINK_PACKAGES+= tcl +BUILDLINK_FILES.tcl= bin/tclsh* +# +# Make "-ltcl" resolve into "-ltcl83", so that we don't need to patch so +# many Makefiles. +# +BUILDLINK_TRANSFORM+= l:tcl:tcl83 + +TCLCONFIG_SH?= ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh +.endif # TCL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//} |