[oe-commits] Saul Wold : pkgconfig: Fix packaging issue
git at git.openembedded.org
git at git.openembedded.org
Sat Jul 28 08:22:01 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: d2dba9aebef323a57824b41d09991850c703be35
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d2dba9aebef323a57824b41d09991850c703be35
Author: Saul Wold <sgw at linux.intel.com>
Date: Thu Jul 26 00:36:48 2012 -0700
pkgconfig: Fix packaging issue
The pkg.m4 file should be packaged as part of the base package
instead of the -dev package, it had been in the base package, but
I seemed to have missed that it moved during my PACKAGES reorder,
and this caused the meta-toolchain to break
[YOCTO #1908]
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 5 +++++
meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
index 00c23d7..10dba04 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig.inc
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
@@ -32,4 +32,9 @@ do_configure_prepend () {
BBCLASSEXTEND = "native nativesdk"
+# Set an empty dev package to ensure the base PN package gets
+# the pkg.m4 macros, pkgconfig does not deliver any other -dev
+# files.
+FILES_${PN}-dev = ""
FILES_${PN} += "${datadir}/aclocal/pkg.m4"
+RREPLACES_${PN}-dev = "${PN}"
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
index 1d7ba49..08a3dbf 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
@@ -1,6 +1,6 @@
require pkgconfig.inc
-PR = "r3"
+PR = "r4"
SRC_URI[md5sum] = "a3270bab3f4b69b7dc6dbdacbcae9745"
SRC_URI[sha256sum] = "3ba691ee2431f32ccb8efa131e59bf23e37f122dc66791309023ca6dcefcd10e"
More information about the Openembedded-commits
mailing list