From: Changqing Li <[email protected]>

Replacing P with BP to fix following do_package_qa error for lib32-postgresql:
ERROR: QA Issue: File /usr/src/debug/lib32-postgresql/16.4/src/pl/plperl/SPI.c 
in package lib32-postgresql-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Changqing Li <[email protected]>
---
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc 
b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 4fc2e47b3..fb3bca272 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -242,7 +242,7 @@ postgresql_fix_sources () {
        for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
                        ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
                if [ -e $f ]; then
-                       sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f
+                       sed -i -e 's#${B}/../${BP}#${TARGET_DBGSRC_DIR}#g' $f
                fi
        done
 }
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113156): 
https://lists.openembedded.org/g/openembedded-devel/message/113156
Mute This Topic: https://lists.openembedded.org/mt/109183559/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to