diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-05 14:31:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 11:34:34 +0100 |
commit | 92ede8a994b9a24387d3d7dc79e80705f6be4524 (patch) | |
tree | 3ad248001cf351e00a6895b8460bb7560ab8a3d2 /meta/recipes-support/gnutls | |
parent | 33f9abed7658bd5eae39e987b210651d202e1f4e (diff) | |
download | openembedded-core-92ede8a994b9a24387d3d7dc79e80705f6be4524.tar.gz openembedded-core-92ede8a994b9a24387d3d7dc79e80705f6be4524.tar.bz2 openembedded-core-92ede8a994b9a24387d3d7dc79e80705f6be4524.zip |
gnutls: make sure native is patched for gettext version
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls_2.12.20.bb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.20.bb b/meta/recipes-support/gnutls/gnutls_2.12.20.bb index 248c90f7a1..010f179b9f 100644 --- a/meta/recipes-support/gnutls/gnutls_2.12.20.bb +++ b/meta/recipes-support/gnutls/gnutls_2.12.20.bb @@ -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)) -} |