diff options
author | obache <obache> | 2013-07-15 01:05:21 +0000 |
---|---|---|
committer | obache <obache> | 2013-07-15 01:05:21 +0000 |
commit | 16854fb15beb9eacf3a1703b471e92493655d9a6 (patch) | |
tree | abf2ddad21fa75ff7576d37ed6fa58fc13353903 | |
parent | 3a4a685f996370e87b6a3911f32cbdb5e8e20517 (diff) | |
download | pkgsrc-16854fb15beb9eacf3a1703b471e92493655d9a6.tar.gz |
gobject-introspection is just required to build typelib.
-rw-r--r-- | textproc/json-glib/buildlink3.mk | 6 | ||||
-rw-r--r-- | textproc/json-glib/options.mk | 4 |
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 |