summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-07-15 01:05:21 +0000
committerobache <obache@pkgsrc.org>2013-07-15 01:05:21 +0000
commit9132532b33d077e1d6821f5decfb749466ba7fda (patch)
treeabf2ddad21fa75ff7576d37ed6fa58fc13353903 /textproc
parent53370960695b866f39505345ed11a9714f1783dc (diff)
downloadpkgsrc-9132532b33d077e1d6821f5decfb749466ba7fda.tar.gz
gobject-introspection is just required to build typelib.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/json-glib/buildlink3.mk6
-rw-r--r--textproc/json-glib/options.mk4
2 files changed, 4 insertions, 6 deletions
diff --git a/textproc/json-glib/buildlink3.mk b/textproc/json-glib/buildlink3.mk
index 3c52f11c127..858c2bdaa79 100644
--- a/textproc/json-glib/buildlink3.mk
+++ b/textproc/json-glib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2013/04/21 14:04:20 rodent Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2013/07/15 01:05:21 obache Exp $
#
BUILDLINK_TREE+= json-glib
@@ -13,10 +13,6 @@ BUILDLINK_PKGSRCDIR.json-glib?= ../../textproc/json-glib
pkgbase := json-glib
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.json-glib:Mintrospection)
-.include "../../devel/gobject-introspection/buildlink3.mk"
-.endif
-
.if !empty(PKG_BUILD_OPTIONS.json-glib:Mnls)
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
diff --git a/textproc/json-glib/options.mk b/textproc/json-glib/options.mk
index 10815d3b652..c1cd31b8e1e 100644
--- a/textproc/json-glib/options.mk
+++ b/textproc/json-glib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2013/04/21 14:04:20 rodent Exp $
+# $NetBSD: options.mk,v 1.2 2013/07/15 01:05:21 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.json-glib
PKG_SUPPORTED_OPTIONS= introspection nls tests
@@ -8,6 +8,8 @@ PLIST_VARS+= introspection nls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mintrospection)
+BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
+BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
CONFIGURE_ARGS+= --enable-introspection=yes
PLIST.introspection= yes