summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-03 14:10:25 +0200
committerKoen Kooi <koen@openembedded.org>2009-10-03 14:10:25 +0200
commit2c3e976d5cd2d23dc9d259207751ab8c8b505519 (patch)
treee35739f53eb1b70d865966fdde0e4e2ab43b66a0 /recipes
parent56a4dce3e9057303d1d0c3e2d3a9b2834ba783a1 (diff)
nm-applet: fix some buildproblems
Diffstat (limited to 'recipes')
-rw-r--r--recipes/networkmanager/network-manager-applet_0.7.1.bb12
1 files changed, 10 insertions, 2 deletions
diff --git a/recipes/networkmanager/network-manager-applet_0.7.1.bb b/recipes/networkmanager/network-manager-applet_0.7.1.bb
index 4e55714a22..07de73012e 100644
--- a/recipes/networkmanager/network-manager-applet_0.7.1.bb
+++ b/recipes/networkmanager/network-manager-applet_0.7.1.bb
@@ -1,14 +1,22 @@
DESCRIPTION = "GTK+ applet for NetworkManager"
LICENSE = "GPL"
-DEPENDS = "libnotify networkmanager dbus-glib libglade gconf gnome-keyring"
+DEPENDS = "policykit-gnome libnotify networkmanager dbus-glib libglade gconf gnome-keyring"
RDEPENDS = "networkmanager"
-PR = "r1"
+PR = "r2"
inherit gnome
SRC_URI += "file://nm-applet.conf"
+do_configure_append() {
+ rm config.log
+ # Sigh... --enable-compile-warnings=no doesn't actually turn off -Werror
+ for i in $(find ${S} -name "Makefile") ; do
+ sed -i -e s:-Werror::g $i
+ done
+}
+
# Hack around dbus a_console problems
do_install_append() {
install -m 0644 ${WORKDIR}/nm-applet.conf ${D}${sysconfdir}/dbus-1/system.d/