]> code.ossystems Code Review - openembedded-core.git/commitdiff
pkgconfig: use packageconfig
authorRoss Burton <ross.burton@intel.com>
Tue, 31 Jan 2017 20:27:26 +0000 (20:27 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2017 17:37:33 +0000 (17:37 +0000)
meta/recipes-devtools/pkgconfig/pkgconfig_git.bb

index 66b02f175d791ed8c77029d3ed9b7654af7c4014..5f2a5b6e4dc9c5b7cd88c39d236fbe9d3e51490d 100644 (file)
@@ -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 ."