summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/pkgconfig/pkgconfig-native_0.23.bb3
-rw-r--r--meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb3
-rw-r--r--meta/packages/pkgconfig/pkgconfig.inc9
-rw-r--r--meta/packages/pkgconfig/pkgconfig_0.23.bb3
4 files changed, 9 insertions, 9 deletions
diff --git a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb b/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
deleted file mode 100644
index dc5e3fc15..000000000
--- a/meta/packages/pkgconfig/pkgconfig-native_0.23.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require pkgconfig.inc
-inherit native
-DEPENDS = ""
diff --git a/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb b/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb
deleted file mode 100644
index 7ceac3fda..000000000
--- a/meta/packages/pkgconfig/pkgconfig-nativesdk_0.23.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require pkgconfig.inc
-inherit nativesdk
-DEPENDS = ""
diff --git a/meta/packages/pkgconfig/pkgconfig.inc b/meta/packages/pkgconfig/pkgconfig.inc
index 58c6f90f1..e61760f9f 100644
--- a/meta/packages/pkgconfig/pkgconfig.inc
+++ b/meta/packages/pkgconfig/pkgconfig.inc
@@ -7,6 +7,13 @@ HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
LICENSE = "GPL"
PR = "r7"
+DEPENDS = "glib-2.0"
+DEPENDS_virtclass-native = ""
+DEPENDS_virtclass-nativesdk = ""
+EXTRA_OECONF = "--with-installed-glib"
+EXTRA_OECONF_virtclass-native = ""
+EXTRA_OECONF_virtclass-nativesdk = ""
+
SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
file://autofoo.patch;patch=1 \
file://sysrootfix.patch;patch=1 \
@@ -24,3 +31,5 @@ do_configure_prepend () {
do_stage_prepend() {
install -d -m 0755 ${STAGING_LIBDIR}/pkgconfig
}
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/packages/pkgconfig/pkgconfig_0.23.bb b/meta/packages/pkgconfig/pkgconfig_0.23.bb
index 10ce0fc9c..d9ff6ea06 100644
--- a/meta/packages/pkgconfig/pkgconfig_0.23.bb
+++ b/meta/packages/pkgconfig/pkgconfig_0.23.bb
@@ -1,4 +1 @@
require pkgconfig.inc
-
-DEPENDS += "glib-2.0"
-EXTRA_OECONF = "--with-installed-glib"