aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-08-03 17:15:57 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-08-07 12:21:25 +0200
commitd5508e497c2f664dc5f338a976fdb5a0a8982519 (patch)
tree9a553f0fa92dad967eaf3dc4c94763ce1f0795ea /meta-oe
parentea17194464570adda40860b3fcdacf78fee49d52 (diff)
downloadmeta-openembedded-d5508e497c2f664dc5f338a976fdb5a0a8982519.tar.gz
meta-openembedded-d5508e497c2f664dc5f338a976fdb5a0a8982519.tar.bz2
meta-openembedded-d5508e497c2f664dc5f338a976fdb5a0a8982519.zip
postgresql: Fix packaging of static libraries
This patch fixes the following QA issue: ,----[ Fragment of build error log ] | ... | ERROR: QA Issue: non -staticdev package contains static .a library: | libecpg-dev path '/work/.../packages-split/libecpg-dev/usr/lib/libpgtypes.a' | ... `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/postgresql/postgresql.inc22
1 files changed, 14 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index 01c41c12e..eeda729c2 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 = "r7"
+INC_PR = "r8"
ARM_INSTRUCTION_SET = "arm"
@@ -52,20 +52,26 @@ FILES_${PN}-doc += "${prefix}/doc/"
FILES_${PN}-timezone = "${datadir}/${PN}/timezone"
FILES_${PN}-server-dev = "${includedir}/${PN}/server"
-FILES_libecpg = "${libdir}/libecpg*.so.*"
+FILES_libecpg = "${libdir}/libecpg*${SOLIBS}"
FILES_libecpg-dbg = "${libdir}/.debug/libecpg*"
-FILES_libecpg-dev = "${libdir}/libecpg*.a ${libdir}/libecpg*.so \
- ${libdir}/libpgtypes*.a ${libdir}/libpgtypes*.so \
+FILES_libecpg-dev = "${libdir}/libecpg*${SOLIBSDEV} \
+ ${libdir}/libpgtypes*${SOLIBSDEV} \
${includedir}/ecpg*.h ${includedir}/${PN}/ecpg*.h \
${includedir}/pgtypes*.h ${includedir}/${PN}/informix \
${includedir}/sql3types.h ${includedir}/sqlca.h"
+FILES_libecpg-staticdev = "${libdir}/libecpg*.a"
+SECTION_libecpg-staticdev = "devel"
+RDEPENDS_libecpg-staticdev = "libecpg-dev (= ${EXTENDPKGV})"
-FILES_libpq = "${libdir}/libpq*.so.*"
+FILES_libpq = "${libdir}/libpq*${SOLIBS}"
FILES_libpq-dbg = "${libdir}/.debug/libpq* ${libdir}/${PN}/pgxs/src/test/regress/.debug/*"
-FILES_libpq-dev = "${libdir}/libpq*.a ${libdir}/libpq*.so ${libdir}/libpgport.a \
+FILES_libpq-dev = "${libdir}/libpq*${SOLIBSDEV} \
${includedir}"
+FILES_libpq-staticdev = "${libdir}/libpq*.a"
+SECTION_libpq-staticdev = "devel"
+RDEPENDS_libpq-staticdev = "libpq-dev (= ${EXTENDPKGV})"
-FILES_libecpg-compat = "${libdir}/libecpg_compat*.so.*"
+FILES_libecpg-compat = "${libdir}/libecpg_compat*${SOLIBS}"
FILES_libecpg-compat-dbg = "${libdir}/.debug/libecpg_compat*"
-FILES_libpgtypes = "${libdir}/libpgtypes*.so.*"
+FILES_libpgtypes = "${libdir}/libpgtypes*${SOLIBS}"
FILES_libpgtypes-dbg = "${libdir}/.debug/libpgtypes*"