xerces-c: fix a wrong PACKAGECONFIG option
PATCH 1/1 xerces-c: fix a wrong PACKAGECONFIG option
From: Ming Liu <[email protected]>
In xerces-c's configure, these options is being referred as follows:
......
curl_flags="-I$with_curl/include"
curl_libs="-L$with_curl/lib -lcurl"
icu_flags="-I$with_icu/include"
icu_libs="-L$with_icu/lib -licuuc -licudata"......
so they shouldn't be set to ${STAGING_DIR}, use
${STAGING_DIR_TARGET}/usr instead.
--- meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +2 -2
@@ -16,8 +16,8 @@ SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8 inherit autotools PACKAGECONFIG ??= "curl icu" -PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" -PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" +PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}/usr,--with-curl=no,curl" +PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}/usr,--with-icu=no,icu" do_install_prepend () { sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc
Signature · 1 line
2.7.4
You should use ${prefix} if there isn't better variable instead of hardcoding /usr
Quoted 47 lines · On Tue, May 16, 2017 at 12:49 PM, <[email protected]> wrote:
From: Ming Liu <[email protected]>
In xerces-c's configure, these options is being referred as follows:
......curl_flags="-I$with_curl/include" curl_libs="-L$with_curl/lib -lcurl" icu_flags="-I$with_icu/include" icu_libs="-L$with_icu/lib -licuuc -licudata"......
so they shouldn't be set to ${STAGING_DIR}, use
${STAGING_DIR_TARGET}/usr instead.Signed-off-by Ming Liu <[email protected]>--- meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +0
-0@@ -16,8 +16,8 @@ SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2ca
ad810edd01bb4c66f77b60c873e8
inherit autotoolsPACKAGECONFIG ??= "curl icu"
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +1
-2-PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" -PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" +PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}/usr,--with-curl=no,curl"
+PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_
TARGET}/usr,--with-icu=no,icu"do_install_prepend () { sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi, Martin:
Arha, thanks for the review, will send a V2.
//Ming Liu
2017-05-16 13:12 GMT+02:00 Martin Jansa <[email protected]>:
Quoted 54 lines
You should use ${prefix} if there isn't better variable instead of hardcoding /usr
Quoted 47 lines · On Tue, May 16, 2017 at 12:49 PM, <[email protected]> wrote:
From: Ming Liu <[email protected]>
In xerces-c's configure, these options is being referred as follows:
......curl_flags="-I$with_curl/include" curl_libs="-L$with_curl/lib -lcurl" icu_flags="-I$with_icu/include" icu_libs="-L$with_icu/lib -licuuc -licudata"......
so they shouldn't be set to ${STAGING_DIR}, use
${STAGING_DIR_TARGET}/usr instead.Signed-off-by Ming Liu <[email protected]>--- meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +0
-0@@ -16,8 +16,8 @@ SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2c
aad810edd01bb4c66f77b60c873e8
inherit autotoolsPACKAGECONFIG ??= "curl icu"
meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +1
-2-PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" -PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" +PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}/usr,--with-curl=no,curl" +PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARG ET}/usr,--with-icu=no,icu"
do_install_prepend () { sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc--
2.7.4--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel