Patchwork [meta-oe,for-denzil] libxaw: Fix libxaw-dev to not depends on non-existent libxaw package

login
register
mail settings
Submitter Otavio Salvador
Date Aug. 15, 2012, 10:34 p.m.
Message ID <1345070059-29702-1-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/34673/
State Accepted
Headers show

Comments

Otavio Salvador - Aug. 15, 2012, 10:34 p.m.
The libxaw recipe generate a binary package for each soname of libxaw
(currently libxaw6-6 and libxaw-7-7) but no libxaw so libxaw-dev
cannot depends on it.

Reported-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb b/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
index 89338d9..88863a7 100644
--- a/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
+++ b/meta-oe/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
@@ -5,6 +5,7 @@  DEPENDS += "xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp pr
 LIC_FILES_CHKSUM = "file://COPYING;md5=1c65719d42900bb81b83e8293c20a364"
 
 PE = "1"
+PR = "r1"
 
 SRC_URI[md5sum] = "f1ea52debce7a18cc26b21647a00ad8b"
 SRC_URI[sha256sum] = "2d96bcf92638b8ec5c91d379f5ec2e7b15133adeb2ba22066d48bf3239ee1bdd"
@@ -24,4 +25,7 @@  FILES_libxaw6 = "${libdir}/libXaw*.so.6*"
 FILES_libxaw7 = "${libdir}/libXaw*.so.7*"
 FILES_libxaw8 = "${libdir}/libXaw8.so.8*"
 
+# Avoid dependency on libxaw as it is not build
+RDEPENDS_${PN}-dev = ""
+
 XORG_PN = "libXaw"