summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nspr
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2012-04-13 18:04:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-14 09:34:06 +0100
commit7503db67134cf5007d080eed6771cf88bebbe9bd (patch)
tree39a86c17bf1675a909b69f59ba341dede3f3afd7 /meta/recipes-support/nspr
parentffc9073db1ef03cc0ed44aeca5a23a0aaef554ea (diff)
downloadpoky-7503db67134cf5007d080eed6771cf88bebbe9bd.tar.gz
nspr: fix package spliting
Here /usr/lib/lib*.so files are binaries rather than symbol links. We should package them into ${PN} rather than ${PN}-dev, or else, when a package, that rdepends on nspr, is packaged, we get a "non-dev package rdepends on nspr-dev" ERROR. (From OE-Core rev: be298b6f0168bbd6baf90602da35904c441deade) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r--meta/recipes-support/nspr/nspr_4.8.9.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
index f70c2c1e45..10b5d12688 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
5 file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 " 5 file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
6SECTION = "libs/network" 6SECTION = "libs/network"
7 7
8PR = "r3" 8PR = "r4"
9 9
10SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \ 10SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
11 file://remove-rpath-from-tests.patch \ 11 file://remove-rpath-from-tests.patch \
@@ -162,6 +162,7 @@ do_install_append() {
162 install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests 162 install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
163} 163}
164 164
165FILES_${PN} = "${bindir}/*" 165FILES_${PN} = "${bindir}/* ${libdir}/lib*.so"
166FILES_${PN}-dev += "${libdir}/nspr/tests/*" 166FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \
167 ${includedir}/* ${datadir}/aclocal/* "
167FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*" 168FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"