1 # $NetBSD: buildlink3.mk,v 1.28 2012/12/19 14:58:45 wiz Exp $
5 .if
!defined
(TK_BUILDLINK3_MK
)
8 BUILDLINK_API_DEPENDS.tk
+= tk
>=8.5.7
9 BUILDLINK_ABI_DEPENDS.tk
+= tk
>=8.5.7
10 BUILDLINK_PKGSRCDIR.tk?
= ..
/..
/x11
/tk
12 BUILDLINK_FILES.tk
+= bin
/wish
*
14 # Make "-ltk" and "-ltk8.5" resolve into "-ltk85", so that we don't
15 # need to patch so many Makefiles.
17 BUILDLINK_TRANSFORM
+= l
:tk
:tk85
18 BUILDLINK_TRANSFORM
+= l
:tk8.5
:tk85
20 TKCONFIG_SH?
= ${BUILDLINK_PREFIX.tk
}/lib
/tkConfig.sh
22 _TOOLS_USE_PKGSRC.wish
= yes
24 FIND_PREFIX
:= TOOLS_PREFIX.wish
=tk
25 .
include "../../mk/find-prefix.mk"
26 WISH
= ${TOOLS_PREFIX.wish
}/bin
/wish
29 .
include "../../mk/pkg-build-options.mk"
31 .if
!empty
(PKG_BUILD_OPTIONS.tk
:Mxft2
)
32 .
include "../../x11/libXft/buildlink3.mk"
35 .
include "../../lang/tcl/buildlink3.mk"
36 .
include "../../mk/pthread.buildlink3.mk"
37 .
include "../../x11/libX11/buildlink3.mk"
38 .
endif # TK_BUILDLINK3_MK