diff options
author | wiz <wiz@pkgsrc.org> | 2012-12-12 15:30:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-12-12 15:30:52 +0000 |
commit | c23c84d3626441e369cc2ca80cd18117806b5553 (patch) | |
tree | 48be7fd36c258c5c066248a7a09fb485409aef24 /x11/tk | |
parent | 82390f4a77325efdee755851a7d40c82b038b48e (diff) | |
download | pkgsrc-c23c84d3626441e369cc2ca80cd18117806b5553.tar.gz |
Add default-on options enabling xft2 support for nicer interfaces.
From Anthony Mallet in PR 47246.
Bump PKGREVISION.
Diffstat (limited to 'x11/tk')
-rw-r--r-- | x11/tk/Makefile | 3 | ||||
-rw-r--r-- | x11/tk/options.mk | 14 |
2 files changed, 13 insertions, 4 deletions
diff --git a/x11/tk/Makefile b/x11/tk/Makefile index db85de21af7..ee3852f8a4b 100644 --- a/x11/tk/Makefile +++ b/x11/tk/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.69 2012/11/24 21:38:50 adam Exp $ +# $NetBSD: Makefile,v 1.70 2012/12/12 15:30:52 wiz Exp $ DISTNAME= tk${TK_VERSION}-src PKGNAME= tk-${TK_VERSION} +PKGREVISION= 1 CATEGORIES= x11 lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/} diff --git a/x11/tk/options.mk b/x11/tk/options.mk index cf0cc61361e..17b364938c7 100644 --- a/x11/tk/options.mk +++ b/x11/tk/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.1 2012/08/22 22:05:05 marino Exp $ +# $NetBSD: options.mk,v 1.2 2012/12/12 15:30:52 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.tk -PKG_SUPPORTED_OPTIONS= threads debug -PKG_SUGGESTED_OPTIONS= threads +PKG_SUPPORTED_OPTIONS= threads debug xft2 +PKG_SUGGESTED_OPTIONS= threads xft2 .include "../../mk/bsd.prefs.mk" .include "../../mk/bsd.options.mk" @@ -17,3 +17,11 @@ CONFIGURE_ARGS+= --enable-threads .else CONFIGURE_ARGS+= --disable-threads .endif + +.if !empty(PKG_OPTIONS:Mxft2) +CONFIGURE_ARGS+= --enable-xft +USE_TOOLS+= pkg-config +. include "../../x11/libXft/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-xft +.endif |