diff options
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
| -rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 13 |
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 | ||
| 55 | PACKAGECONFIG ??= " \ | 55 | PACKAGECONFIG ??= " \ |
| 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 | " |
| 59 | PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," | 59 | PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," |
| 60 | PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" | 60 | PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" |
| @@ -69,6 +69,7 @@ PACKAGECONFIG[libxslt] = "--with-libxslt,--without-libxslt,libxslt" | |||
| 69 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | 69 | PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" |
| 70 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" | 70 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" |
| 71 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" | 71 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" |
| 72 | PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" | ||
| 72 | 73 | ||
| 73 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ | 74 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ |
| 74 | --datadir=${datadir}/${BPN} \ | 75 | --datadir=${datadir}/${BPN} \ |
| @@ -229,6 +230,16 @@ do_install:append() { | |||
| 229 | SSTATE_SCAN_FILES += "Makefile.global" | 230 | SSTATE_SCAN_FILES += "Makefile.global" |
| 230 | SSTATE_SCAN_FILES:remove = "*_config" | 231 | SSTATE_SCAN_FILES:remove = "*_config" |
| 231 | 232 | ||
| 233 | postgresql_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 | } | ||
| 241 | PACKAGESPLITFUNCS =+ "postgresql_fix_sources" | ||
| 242 | |||
| 232 | PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \ | 243 | PACKAGES =+ "${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 \ |
