[packages] kismet: Don't add host include paths
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 21 Feb 2010 21:37:29 +0000 (21:37 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Sun, 21 Feb 2010 21:37:29 +0000 (21:37 +0000)
SVN-Revision: 19805

net/kismet/Makefile
net/kismet/patches/010-dont-add-host-include-paths.patch [new file with mode: 0644]

index 94bfafe53ac144dbcf1e3aa5da4d1a61cf4d6827..d3ab3adfdb9657d5dd772fdd1d2461e2c4decf67 100644 (file)
@@ -83,7 +83,7 @@ CONFIGURE_ARGS += \
 
 CONFIGURE_VARS += \
        CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"  \
-       CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ -I$(LINUX_DIR)/include" \
+       CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
        LDFLAGS="$$$$LDFLAGS" \
        LIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \
        CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm -lgcc" \
diff --git a/net/kismet/patches/010-dont-add-host-include-paths.patch b/net/kismet/patches/010-dont-add-host-include-paths.patch
new file mode 100644 (file)
index 0000000..23a87bd
--- /dev/null
@@ -0,0 +1,14 @@
+diff --git a/configure b/configure
+index 6936a47..9a85269 100755
+--- a/configure
++++ b/configure
+@@ -6980,9 +6980,6 @@ else
+ fi
+-# Add additional cflags since some distros bury panel.h
+-CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+-
+ termcontrol="none";
+ if test "$wantclient" = "yes"; then