summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 13:06:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 14:08:41 +0100
commitb9553be4d1fed445a738d0fa173dd562afc3f3fe (patch)
treea32607f75428d9df768494294bcb0c520f86976a
parent80e7bb85a020076e784e3e5648e42130f0cfd795 (diff)
downloadpoky-b9553be4d1fed445a738d0fa173dd562afc3f3fe.tar.gz
poky-b9553be4d1fed445a738d0fa173dd562afc3f3fe.tar.bz2
poky-b9553be4d1fed445a738d0fa173dd562afc3f3fe.zip
libproxy: Allow to build in non-gplv3 configuration
(From OE-Core rev: 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
export HOST_SYS=${HOST_SYS}
export BUILD_SYS=${BUILD_SYS}
}
+
+python() {
+ if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1:
+ d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
+ d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
+}