diff options
author | Hauke Lampe <lampe@silpion.de> | 2024-09-10 17:58:40 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-09-10 09:37:01 -0700 |
commit | ba274e7310880f9f9a3e01bd998c8ed1ee7a0930 (patch) | |
tree | 4a4af5a5b12a4a60c80ab3d535709017b6671870 /meta-oe/recipes-dbs/postgresql/postgresql.inc | |
parent | 0249db4dbbcfbd8383288e1bc2979d766d25e87e (diff) | |
download | meta-openembedded-ba274e7310880f9f9a3e01bd998c8ed1ee7a0930.tar.gz |
postgresql: Use packageconfig flag for readline dependency
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
-rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index d2d3225be9..4fc2e47b35 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc | |||
@@ -19,7 +19,7 @@ DESCRIPTION = "\ | |||
19 | " | 19 | " |
20 | HOMEPAGE = "http://www.postgresql.com" | 20 | HOMEPAGE = "http://www.postgresql.com" |
21 | LICENSE = "0BSD" | 21 | LICENSE = "0BSD" |
22 | DEPENDS = "libnsl2 readline tzcode-native perl" | 22 | DEPENDS = "libnsl2 tzcode-native perl" |
23 | 23 | ||
24 | ARM_INSTRUCTION_SET = "arm" | 24 | ARM_INSTRUCTION_SET = "arm" |
25 | 25 | ||
@@ -55,7 +55,7 @@ pkg_postinst:${PN} () { | |||
55 | 55 | ||
56 | PACKAGECONFIG ??= " \ | 56 | PACKAGECONFIG ??= " \ |
57 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ | 57 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ |
58 | openssl python uuid libxml tcl perl zlib icu \ | 58 | openssl python uuid libxml tcl perl zlib icu readline \ |
59 | " | 59 | " |
60 | PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," | 60 | PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," |
61 | PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" | 61 | PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" |
@@ -71,6 +71,7 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" | |||
71 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" | 71 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" |
72 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" | 72 | PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" |
73 | PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" | 73 | PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" |
74 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | ||
74 | 75 | ||
75 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ | 76 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ |
76 | --datadir=${datadir}/${BPN} \ | 77 | --datadir=${datadir}/${BPN} \ |