summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/postgresql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 15ecdeeb2e..868a2e443c 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -54,7 +54,7 @@ pkg_postinst:${PN} () {
54 54
55PACKAGECONFIG ??= " \ 55PACKAGECONFIG ??= " \
56 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ 56 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \
57 openssl python uuid libxml tcl perl zlib \ 57 openssl python uuid libxml tcl perl zlib icu \
58" 58"
59PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," 59PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
60PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" 60PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
@@ -69,6 +69,7 @@ PACKAGECONFIG[libxslt] = "--with-libxslt,--without-libxslt,libxslt"
69PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" 69PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
70PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" 70PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4"
71PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" 71PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl"
72PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu"
72 73
73EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ 74EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
74 --datadir=${datadir}/${BPN} \ 75 --datadir=${datadir}/${BPN} \
@@ -229,6 +230,16 @@ do_install:append() {
229SSTATE_SCAN_FILES += "Makefile.global" 230SSTATE_SCAN_FILES += "Makefile.global"
230SSTATE_SCAN_FILES:remove = "*_config" 231SSTATE_SCAN_FILES:remove = "*_config"
231 232
233postgresql_fix_sources () {
234 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
235 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
236 if [ -e $f ]; then
237 sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f
238 fi
239 done
240}
241PACKAGESPLITFUNCS =+ "postgresql_fix_sources"
242
232PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \ 243PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
233 libecpg-compat libecpg-compat-dev \ 244 libecpg-compat libecpg-compat-dev \
234 libecpg libecpg-dev libecpg-staticdev libecpg-doc \ 245 libecpg libecpg-dev libecpg-staticdev libecpg-doc \