Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / tk / buildlink3.mk
bloba8b4d3941a95bec22eca0205a33b2fc9c6811b2c
1 # $NetBSD: buildlink3.mk,v 1.28 2012/12/19 14:58:45 wiz Exp $
3 BUILDLINK_TREE+= tk
5 .if !defined(TK_BUILDLINK3_MK)
6 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
28 pkgbase := tk
29 .include "../../mk/pkg-build-options.mk"
31 .if !empty(PKG_BUILD_OPTIONS.tk:Mxft2)
32 . include "../../x11/libXft/buildlink3.mk"
33 .endif
35 .include "../../lang/tcl/buildlink3.mk"
36 .include "../../mk/pthread.buildlink3.mk"
37 .include "../../x11/libX11/buildlink3.mk"
38 .endif # TK_BUILDLINK3_MK
40 BUILDLINK_TREE+= -tk