[oe] [meta-oe][PATCH 1/2] postgresql: Fix redundant rpath for '/usr/lib'

Otavio Salvador otavio at ossystems.com.br
Fri Aug 3 17:15:56 UTC 2012


This patch fixes the following QA issue:

,----[ Fragment of build error log ]
| ...
| ERROR: QA Issue: postgresql-client:
|   /work/.../usr/bin/pg_dumpall contains probably-redundant
|   RPATH /usr/lib
| ...
`----

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Reported-by: Nathan West <nate.ewest at gmail.com>
Reported-by: Rogerio Pimentel <rogerio.pimentel at freescale.com>
---
 meta-oe/recipes-support/postgresql/postgresql.inc |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index ab6aea4..01c41c1 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "PostgreSQL is a powerful, open source relational database system.
 HOMEPAGE = "http://www.postgresql.com"
 LICENSE = "BSD"
 DEPENDS = "zlib readline tzcode-native"
-INC_PR = "r6"
+INC_PR = "r7"
 
 ARM_INSTRUCTION_SET = "arm"
 
@@ -17,7 +17,8 @@ export LDFLAGS_SL = "${LDFLAGS}"
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF_sh4 = "--disable-spinlocks"
+EXTRA_OECONF = "--disable-rpath"
+EXTRA_OECONF_sh4 = "--disable-spinlocks --disable-rpath"
 
 do_compile_append() {
          cp /usr/sbin/zic ${S}/src/timezone/
-- 
1.7.2.5





More information about the Openembedded-devel mailing list