summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/texinfo/texinfo_5.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_5.2.bb b/meta/recipes-extended/texinfo/texinfo_5.2.bb
index 8dbcaa14f4..c9ac182b1e 100644
--- a/meta/recipes-extended/texinfo/texinfo_5.2.bb
+++ b/meta/recipes-extended/texinfo/texinfo_5.2.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
10PROVIDES_append_class-native = " texinfo-replacement-native" 10PROVIDES_append_class-native = " texinfo-replacement-native"
11 11
12def compress_pkg(d): 12def compress_pkg(d):
13 if "compress_doc" in (d.getVar("INHERIT", True) or "").split(): 13 if bb.data.inherits_class('compress_doc', d):
14 compress = d.getVar("DOC_COMPRESS", True) 14 compress = d.getVar("DOC_COMPRESS", True)
15 if compress == "gz": 15 if compress == "gz":
16 return "gzip" 16 return "gzip"