aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-01-31 20:27:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-02 17:37:43 +0000
commit6b149b6dbd6a3d709335317685644d55617225f4 (patch)
tree97a40f85226cf571a00e5bd55e7b5b27c4bd91a4 /meta
parent3aa0ae393cece708a9d5798eb325c30e7606db57 (diff)
downloadopenembedded-core-contrib-6b149b6dbd6a3d709335317685644d55617225f4.tar.gz
pkgconfig: use packageconfig
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb11
1 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
index 66b02f175d..5f2a5b6e4d 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
@@ -8,10 +8,6 @@ SECTION = "console/utils"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "glib-2.0 pkgconfig-native"
-DEPENDS_class-native = ""
-DEPENDS_class-nativesdk = ""
-
SRCREV = "87152c05be88ca8be71a3a563f275b3686d32c28"
PV = "0.29.1+git${SRCPV}"
@@ -26,9 +22,10 @@ S = "${WORKDIR}/git"
inherit autotools
-EXTRA_OECONF = "--without-internal-glib"
-EXTRA_OECONF_class-native = "--with-internal-glib"
-EXTRA_OECONF_class-nativesdk = "--with-internal-glib"
+PACKAGECONFIG ??= "glib"
+PACKAGECONFIG_class-native = ""
+PACKAGECONFIG_class-native = ""
+PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native"
acpaths = "-I ."