summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/nspr/nspr/nspr.pc.in2
-rw-r--r--meta/recipes-support/nspr/nspr_4.12.bb11
2 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-support/nspr/nspr/nspr.pc.in b/meta/recipes-support/nspr/nspr/nspr.pc.in
index c37d0bcbd7..d74caabe4c 100644
--- a/meta/recipes-support/nspr/nspr/nspr.pc.in
+++ b/meta/recipes-support/nspr/nspr/nspr.pc.in
@@ -6,6 +6,6 @@ includedir=OEINCDIR
6 6
7Name: NSPR 7Name: NSPR
8Description: The Netscape Portable Runtime 8Description: The Netscape Portable Runtime
9Version: 4.9.5 9Version: NSPRVERSION
10Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl 10Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl
11Cflags: 11Cflags:
diff --git a/meta/recipes-support/nspr/nspr_4.12.bb b/meta/recipes-support/nspr/nspr_4.12.bb
index fa6d52357d..9345a51f39 100644
--- a/meta/recipes-support/nspr/nspr_4.12.bb
+++ b/meta/recipes-support/nspr/nspr_4.12.bb
@@ -160,10 +160,13 @@ do_compile_append() {
160 160
161do_install_append() { 161do_install_append() {
162 install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc 162 install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
163 sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nspr.pc 163 sed -i \
164 sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nspr.pc 164 -e 's:NSPRVERSION:${PV}:g' \
165 sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nspr.pc 165 -e 's:OEPREFIX:${prefix}:g' \
166 sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nspr.pc 166 -e 's:OELIBDIR:${libdir}:g' \
167 -e 's:OEINCDIR:${includedir}:g' \
168 -e 's:OEEXECPREFIX:${exec_prefix}:g' \
169 ${D}${libdir}/pkgconfig/nspr.pc
167 170
168 mkdir -p ${D}${libdir}/nspr/tests 171 mkdir -p ${D}${libdir}/nspr/tests
169 install -m 0755 ${S}/pr/tests/runtests.pl ${D}${libdir}/nspr/tests 172 install -m 0755 ${S}/pr/tests/runtests.pl ${D}${libdir}/nspr/tests