diff options
Diffstat (limited to 'x11/tk83/buildlink3.mk')
-rw-r--r-- | x11/tk83/buildlink3.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/tk83/buildlink3.mk b/x11/tk83/buildlink3.mk new file mode 100644 index 00000000000..1f9cc4014b4 --- /dev/null +++ b/x11/tk83/buildlink3.mk @@ -0,0 +1,31 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/03/08 20:07:40 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= tk +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntk} +BUILDLINK_PACKAGES+= tk + +.if !empty(TK_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.tk+= tk>=8.3.4 +BUILDLINK_PKGSRCDIR.tk?= ../../x11/tk83 + +BUILDLINK_FILES.tk= bin/wish* +# +# Make "-ltk" resolve into "-ltk83", so that we don't need to patch so +# many Makefiles. +# +BUILDLINK_TRANSFORM+= l:tk:tk83 + +USE_X11= yes +TKCONFIG_SH?= ${BUILDLINK_PREFIX.tk}/lib/tkConfig.sh + +.include "../../lang/tcl83/buildlink3.mk" + +.endif # TK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |