diff options
author | wiz <wiz@pkgsrc.org> | 2012-12-19 14:58:45 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-12-19 14:58:45 +0000 |
commit | f9eee8d70a99f5bef90655c4ae69d0ba715a3e03 (patch) | |
tree | 3257736c5681d192e9186331f6290a26e63bd0dd /x11/tk | |
parent | 1c36aa157648f45ce32b875e11536d62d93b1834 (diff) | |
download | pkgsrc-f9eee8d70a99f5bef90655c4ae69d0ba715a3e03.tar.gz |
Add conditional xft2 include, requested by joerg.
Diffstat (limited to 'x11/tk')
-rw-r--r-- | x11/tk/buildlink3.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/tk/buildlink3.mk b/x11/tk/buildlink3.mk index c4e13b690ed..0bc0974863b 100644 --- a/x11/tk/buildlink3.mk +++ b/x11/tk/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.27 2012/08/21 21:32:34 marino Exp $ +# $NetBSD: buildlink3.mk,v 1.28 2012/12/19 14:58:45 wiz Exp $ BUILDLINK_TREE+= tk @@ -25,9 +25,15 @@ FIND_PREFIX:= TOOLS_PREFIX.wish=tk .include "../../mk/find-prefix.mk" WISH= ${TOOLS_PREFIX.wish}/bin/wish +pkgbase := tk +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.tk:Mxft2) +. include "../../x11/libXft/buildlink3.mk" +.endif + .include "../../lang/tcl/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" .endif # TK_BUILDLINK3_MK -BUILDLINK_TREE+= -tk |