packages/libxsettings-client: Do not put -I/usr/include to the compile line
authorHolger Freyther <zecke@selfish.org>
Fri, 19 May 2006 21:28:13 +0000 (21:28 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 19 May 2006 21:28:13 +0000 (21:28 +0000)
    Do not put -I$(includedir) into the Compile flags

packages/libxsettings-client/libxsettings-client_0.17.bb
packages/libxsettings-client/no-host-includes.patch [new file with mode: 0644]

index c424ddd..cb3e63b 100644 (file)
@@ -10,6 +10,7 @@ PR="r0"
 GPE_TARBALL_SUFFIX = "bz2"
 inherit autotools pkgconfig gpe
 
+SRC_URI += "file://no-host-includes.patch;patch=1 "
 
 headers = "xsettings-client.h xsettings-common.h"
 do_stage () {
diff --git a/packages/libxsettings-client/no-host-includes.patch b/packages/libxsettings-client/no-host-includes.patch
new file mode 100644 (file)
index 0000000..137c526
--- /dev/null
@@ -0,0 +1,13 @@
+Index: libxsettings-client-0.17/Makefile.am
+===================================================================
+--- libxsettings-client-0.17.orig/Makefile.am  2006-05-19 23:14:46.557360552 +0200
++++ libxsettings-client-0.17/Makefile.am       2006-05-19 23:14:56.010923392 +0200
+@@ -3,7 +3,7 @@
+ source_h = xsettings-client.h  xsettings-common.h
+ source_c = xsettings-client.c  xsettings-common.c
+-INCLUDES = -I $(includedir) $(X_CFLAGS)
++INCLUDES = $(X_CFLAGS)
+ libxsincludedir = $(includedir)