Skip to contentSkip to conversation

pkgconfig: Fix packaging issue

PATCH In review Saul Wold 2 participants 2 messages Jul 26, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 pkgconfig: Fix packaging issue

[YOCTO #1908]

---
 meta/recipes-devtools/pkgconfig/pkgconfig.inc |    4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/pkgconfig/pkgconfig.inc +4 -0
index 00c23d7..8a8320e 100644
@@ -32,4 +32,8 @@ 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"
Signature · 1 line
1.7.9.5
#1 lore raw

Op 26 jul. 2012, om 09:39 heeft Saul Wold <[email protected]> het volgende geschreven:

Quoted 19 lines

[YOCTO #1908]

---
meta/recipes-devtools/pkgconfig/pkgconfig.inc | 4 ++++

1 file changed, 4 insertions(+)
meta/recipes-devtools/pkgconfig/pkgconfig.inc +0 -0
index 00c23d7..8a8320e 100644
@@ -32,4 +32,8 @@ do_configure_prepend () {
 

BBCLASSEXTEND = "native nativesdk"

meta/recipes-devtools/pkgconfig/pkgconfig.inc +4 -0
+# 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 = ""
Quoted 1 line

FILES_${PN} += "${datadir}/aclocal/pkg.m4"

Missing PR bump and broken upgrade path due to files moving around and no RREPLACES_foo. And I suspect you'll want ALLOW_EMPTY_${PN}-dev in there as well :)