summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 13:06:56 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 13:08:41 (GMT)
commitb9553be4d1fed445a738d0fa173dd562afc3f3fe (patch)
treea32607f75428d9df768494294bcb0c520f86976a /meta/recipes-support
parent80e7bb85a020076e784e3e5648e42130f0cfd795 (diff)
downloadpoky-b9553be4d1fed445a738d0fa173dd562afc3f3fe.tar.gz
libproxy: Allow to build in non-gplv3 configuration
(From OE-Core rev: 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 2cb8ed3..11b2abf 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}