1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

gnutls: make sure native is patched for gettext version

(From OE-Core rev: 92ede8a994b9a24387d3d7dc79e80705f6be4524)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2012-07-05 14:31:15 -07:00
committed by Richard Purdie
parent 7890697c8f
commit e17ae2c830
@@ -5,15 +5,8 @@ PR = "${INC_PR}.0"
SRC_URI += "file://gnutls-openssl.patch \
file://correct_rpl_gettimeofday_signature.patch \
file://configure-fix.patch \
${@['', 'file://fix-gettext-version.patch'][bb.data.inherits_class('native', d) or (not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1))]} \
"
SRC_URI[md5sum] = "f1dea97da5d4dcdbc675720c9aad9ee3"
SRC_URI[sha256sum] = "4884eafcc8383ed23209199bbc72ad04f4eb94955a50a594125ff34c6889c564"
python() {
if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1):
# if GPLv3 add patch
src_uri = (d.getVar("SRC_URI", False) or "").split()
src_uri.append("file://fix-gettext-version.patch")
d.setVar("SRC_URI", " ".join(src_uri))
}