From 9132532b33d077e1d6821f5decfb749466ba7fda Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 15 Jul 2013 01:05:21 +0000 Subject: gobject-introspection is just required to build typelib. --- textproc/json-glib/buildlink3.mk | 6 +----- textproc/json-glib/options.mk | 4 +++- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'textproc') 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 -- cgit v1.2.3