blob: 873256e5c51914498b9ee8c6f6573d8b9891eb02 (
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
|
# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+
.if !empty(TK_BUILDLINK3_MK:M\+)
BUILDLINK_DEPENDS.tk?= tk>=8.3.4
BUILDLINK_PKGSRCDIR.tk?= ../../x11/tk
.endif # TK_BUILDLINK3_MK
.if !empty(BUILDLINK_DEPTH:M\+)
BUILDLINK_DEPENDS+= tk
.endif
.if !empty(TK_BUILDLINK3_MK:M\+)
BUILDLINK_PACKAGES+= tk
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/tcl/buildlink3.mk"
.endif # TK_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}
|