pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/json-glib gobject-introspection is just requi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b2aa2c6dbc2
branches:  trunk
changeset: 621694:9b2aa2c6dbc2
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jul 15 01:05:21 2013 +0000

description:
gobject-introspection is just required to build typelib.

diffstat:

 textproc/json-glib/buildlink3.mk |  6 +-----
 textproc/json-glib/options.mk    |  4 +++-
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r e97137070a4c -r 9b2aa2c6dbc2 textproc/json-glib/buildlink3.mk
--- a/textproc/json-glib/buildlink3.mk  Sun Jul 14 21:57:20 2013 +0000
+++ b/textproc/json-glib/buildlink3.mk  Mon Jul 15 01:05:21 2013 +0000
@@ -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 @@
 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 -r e97137070a4c -r 9b2aa2c6dbc2 textproc/json-glib/options.mk
--- a/textproc/json-glib/options.mk     Sun Jul 14 21:57:20 2013 +0000
+++ b/textproc/json-glib/options.mk     Mon Jul 15 01:05:21 2013 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index