Patchwork [01/10] enchant: use BPN instead of PN

login
register
mail settings
Submitter Constantin Musca
Date Feb. 4, 2013, 9:20 a.m.
Message ID <a5e7ef52306c84fa09a7be377d026d9b1caaf159.1359967266.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43929/
State Accepted
Commit 685da74485444423c700fc53f32c8aeb6e0f903e
Headers show

Comments

Constantin Musca - Feb. 4, 2013, 9:20 a.m.
- use BPN (PN includes mlprefix) to package all files
when building with multilib options

[YOCTO #3438]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-support/enchant/enchant_1.6.0.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-support/enchant/enchant_1.6.0.bb b/meta/recipes-support/enchant/enchant_1.6.0.bb
index 25178f5..c16a2a8 100644
--- a/meta/recipes-support/enchant/enchant_1.6.0.bb
+++ b/meta/recipes-support/enchant/enchant_1.6.0.bb
@@ -10,7 +10,7 @@  RDEPENDS_${PN}    = "aspell"
 
 inherit autotools pkgconfig
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz"
 
@@ -19,8 +19,8 @@  SRC_URI[sha256sum] = "2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03
 
 EXTRA_OECONF = "--with-aspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-aspell --disable-binreloc"
 
-FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${PN} ${libdir}/${PN}/*.so"
-FILES_${PN}-dev += "${libdir}/${PN}/*{SOLIBSDEV} ${libdir}/${PN}/*.la" 
-FILES_${PN}-staticdev += "${libdir}/${PN}/*.a" 
+FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${BPN} ${libdir}/${BPN}/*.so"
+FILES_${PN}-dev += "${libdir}/${BPN}/*{SOLIBSDEV} ${libdir}/${BPN}/*.la"
+FILES_${PN}-staticdev += "${libdir}/${BPN}/*.a"
 
 export CXXFLAGS += " -L${STAGING_LIBDIR} -lstdc++ "