summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-05-09 11:59:57 -0700
committerArmin Kuster <akuster808@gmail.com>2018-05-17 08:20:48 -0700
commit28d200d0a9313599a28938301250d9459e492aeb (patch)
treeae8b43cc5ce611de7ace48289dcaa2cd404f995c
parent457b0fec67d2fc979f7aefe0af62a41e099f2244 (diff)
downloadmeta-openembedded-28d200d0a9313599a28938301250d9459e492aeb.tar.gz
postgresql: Depend on external libnsl
glibc has dropped libnsl support Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc2
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb5
2 files changed, 1 insertions, 6 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 812c2aed4..5462332c5 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -19,7 +19,7 @@ DESCRIPTION = "\
19" 19"
20HOMEPAGE = "http://www.postgresql.com" 20HOMEPAGE = "http://www.postgresql.com"
21LICENSE = "BSD" 21LICENSE = "BSD"
22DEPENDS = "zlib readline tzcode-native" 22DEPENDS = "libnsl2 zlib readline tzcode-native"
23 23
24ARM_INSTRUCTION_SET = "arm" 24ARM_INSTRUCTION_SET = "arm"
25 25
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb
index 061184a6f..8a01d8604 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb
+++ b/meta-oe/recipes-dbs/postgresql/postgresql_9.4.17.bb
@@ -5,10 +5,5 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
5SRC_URI += "\ 5SRC_URI += "\
6 file://not-check-libperl.patch \ 6 file://not-check-libperl.patch \
7" 7"
8
9do_compile_prepend_libc-musl() {
10 sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global
11}
12
13SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3" 8SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3"
14SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6" 9SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6"