Patchwork [39/39] libpcre: Clean up FILES_* after PACKAGES reoder

login
register
mail settings
Submitter Saul Wold
Date June 19, 2012, 3:59 p.m.
Message ID <ccb52ac84f93df9924760acdc2dd33db8eba8738.1340121099.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/30217/
State Accepted
Commit 7f08d3b6c95ed7ebc1d46852a18a785921d1cc23
Headers show

Comments

Saul Wold - June 19, 2012, 3:59 p.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/libpcre/libpcre_8.30.bb |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

Patch

diff --git a/meta/recipes-support/libpcre/libpcre_8.30.bb b/meta/recipes-support/libpcre/libpcre_8.30.bb
index 83831e7..05ca7ca 100644
--- a/meta/recipes-support/libpcre/libpcre_8.30.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.30.bb
@@ -5,7 +5,7 @@  provides a POSIX calling interface to PCRE; the regular expressions \
 themselves still follow Perl syntax and semantics. The header file for \
 the POSIX-style functions is called pcreposix.h."
 SECTION = "devel"
-PR = "r0"
+PR = "r1"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=115e2bee152e2e23e838a29136094877"
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/pcre/pcre/${PV}/pcre-${PV}.tar.bz2 \
@@ -47,10 +47,7 @@  do_compile () {
 
 python populate_packages_prepend () {
 	pcre_libdir = d.expand('${libdir}')
-	do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.+', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True)
+	do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.+', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True, prepend=True)
 }
 
-FILES_${PN} = "${libdir}/libpcre.so.*"
-FILES_${PN}-dev += "${bindir}/*"
-
 BBCLASSEXTEND = "native"