summaryrefslogtreecommitdiff
path: root/x11/gtk3
diff options
context:
space:
mode:
authortnn <tnn>2015-06-30 13:10:24 +0000
committertnn <tnn>2015-06-30 13:10:24 +0000
commit7d74615fa25d11516bd4b9c120fc12b116c6d992 (patch)
treeed780457831c6b1f6ecdc4e7f2e648a81193fd43 /x11/gtk3
parentfdace9ac91d1fbcd35eeb528f61dac37ab70c981 (diff)
downloadpkgsrc-7d74615fa25d11516bd4b9c120fc12b116c6d992.tar.gz
Force use of pkgsrc's xgettext since we can't tell if the native one is
built with Glade support or not. As discussed on tech-pkg@ recently. Also ensure the tools get linked.
Diffstat (limited to 'x11/gtk3')
-rw-r--r--x11/gtk3/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/gtk3/Makefile b/x11/gtk3/Makefile
index b17d7f80811..ba6da0a9aee 100644
--- a/x11/gtk3/Makefile
+++ b/x11/gtk3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2015/06/30 09:39:49 tnn Exp $
+# $NetBSD: Makefile,v 1.68 2015/06/30 13:10:24 tnn Exp $
DISTNAME= gtk+-3.16.3
PKGNAME= ${DISTNAME:S/gtk/gtk3/}
@@ -13,12 +13,15 @@ COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces
LICENSE= gnu-lgpl-v2.1
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= gmake perl pkg-config bash
+USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
PTHREAD_AUTO_VARS= yes
BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools
+# There is no logic in gettext.mk to detect the native version of xgettext,
+# and we do need it to be compiled with Glade support.
+_TOOLS_USE_PKGSRC.xgettext=yes
GNU_CONFIGURE= yes
# XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh