diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-17 13:06:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-17 14:08:27 +0100 |
commit | 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5 (patch) | |
tree | 2a8a346e19add4c4ccdd3615e13153a7394e7983 /meta/recipes-support | |
parent | 2865d01773e405212aa6f531139898d90a6819a8 (diff) | |
download | openembedded-core-89788fbd10fdfbbe54927339d7ec516d0e4d7ef5.tar.gz openembedded-core-89788fbd10fdfbbe54927339d7ec516d0e4d7ef5.tar.bz2 openembedded-core-89788fbd10fdfbbe54927339d7ec516d0e4d7ef5.tar.xz openembedded-core-89788fbd10fdfbbe54927339d7ec516d0e4d7ef5.zip |
libproxy: Allow to build in non-gplv3 configuration
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.bb | 6 |
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 2cb8ed36b..11b2abfe5 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")) +} |