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>
This commit is contained in:
Khem Raj
2018-05-09 11:59:57 -07:00
committed by Armin Kuster
parent 457b0fec67
commit 28d200d0a9
2 changed files with 1 additions and 6 deletions
@@ -19,7 +19,7 @@ DESCRIPTION = "\
"
HOMEPAGE = "http://www.postgresql.com"
LICENSE = "BSD"
DEPENDS = "zlib readline tzcode-native"
DEPENDS = "libnsl2 zlib readline tzcode-native"
ARM_INSTRUCTION_SET = "arm"
@@ -5,10 +5,5 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=6dc95e63aa4d72502ff8193dfe2ddd38"
SRC_URI += "\
file://not-check-libperl.patch \
"
do_compile_prepend_libc-musl() {
sed -i -e 's/\-lnsl//g' ${B}/src/Makefile.global
}
SRC_URI[md5sum] = "0a08f4078f5e4a54e764f63ad38a6de3"
SRC_URI[sha256sum] = "7a320cd335052b840d209dc9688f09965763351c590e3cc7bf577591179fd7c6"