Skip to contentSkip to conversation

mbmerlin_0.8.1-2.bb: Don't overwrite a file staged by libx11.

PATCH New Graham Gower 1 participant 1 message Sep 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mbmerlin_0.8.1-2.bb: Don't overwrite a file staged by libx11.

If mbmerlin is staged, packages which use the x11.pc file will get one that mbmerlin provides.

---
 recipes/mbmerlin/mbmerlin_0.8.1-2.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
recipes/mbmerlin/mbmerlin_0.8.1-2.bb +6 -1
index 5c3a93a..e5c582a 100644
@@ -1,5 +1,5 @@
 LICENSE = "GPL"
-PR = "r3"
+PR = "r4"
 
 inherit pkgconfig gpe
 
@@ -19,3 +19,8 @@ CFLAGS += " -D_GNU_SOURCE"
 
 SRC_URI[md5sum] = "c379c781ac05d3b64228f48362aecaca"
 SRC_URI[sha256sum] = "d2a482d4b7bce5cc41bacddc8ef48ebd21fecbe6585b74036e432c030595b11f"
+
+do_install_prepend() {
+    # This package is not x11, this file should not be staged.
+    rm ${S}/build/x11.pc
+}
Signature · 1 line
1.7.1