summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls/gnutls_2.12.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls_2.12.20.bb')
-rw-r--r--meta/recipes-support/gnutls/gnutls_2.12.20.bb9
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"
5SRC_URI += "file://gnutls-openssl.patch \ 5SRC_URI += "file://gnutls-openssl.patch \
6 file://correct_rpl_gettimeofday_signature.patch \ 6 file://correct_rpl_gettimeofday_signature.patch \
7 file://configure-fix.patch \ 7 file://configure-fix.patch \
8 ${@['', 'file://fix-gettext-version.patch'][bb.data.inherits_class('native', d) or (not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1))]} \
8 " 9 "
9 10
10SRC_URI[md5sum] = "f1dea97da5d4dcdbc675720c9aad9ee3" 11SRC_URI[md5sum] = "f1dea97da5d4dcdbc675720c9aad9ee3"
11SRC_URI[sha256sum] = "4884eafcc8383ed23209199bbc72ad04f4eb94955a50a594125ff34c6889c564" 12SRC_URI[sha256sum] = "4884eafcc8383ed23209199bbc72ad04f4eb94955a50a594125ff34c6889c564"
12
13python() {
14 if not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1):
15 # if GPLv3 add patch
16 src_uri = (d.getVar("SRC_URI", False) or "").split()
17 src_uri.append("file://fix-gettext-version.patch")
18 d.setVar("SRC_URI", " ".join(src_uri))
19}