summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libproxy/libproxy_0.4.7.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
index 2cb8ed36be..11b2abfe51 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
@@ -29,3 +29,9 @@ do_configure_prepend() {
29 export HOST_SYS=${HOST_SYS} 29 export HOST_SYS=${HOST_SYS}
30 export BUILD_SYS=${BUILD_SYS} 30 export BUILD_SYS=${BUILD_SYS}
31} 31}
32
33python() {
34 if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1:
35 d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
36 d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
37}