From: John Crispin Date: Sat, 4 Aug 2012 17:02:10 +0000 (+0000) Subject: kismet libc++ fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3f29dd15b32ea7a0aeea922c4f29713b71a78f6e;p=openwrt%2Fsvn-archive%2Fpackages.git kismet libc++ fix SVN-Revision: 32981 --- diff --git a/net/kismet/Makefile b/net/kismet/Makefile index d1eec6a7e..f99af8408 100644 --- a/net/kismet/Makefile +++ b/net/kismet/Makefile @@ -9,21 +9,22 @@ include $(TOPDIR)/rules.mk PKG_NAME:=kismet PKG_VERSION:=2010-07-R1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.kismetwireless.net/code PKG_MD5SUM:=85e59186eb529889118b5635f35cf57d -PKG_BUILD_DEPENDS:=libpcap libncurses uclibcxx libpcre +PKG_BUILD_DEPENDS:=libpcap libncurses libpcre +include $(INCLUDE_DIR)/uclibc++.mk include $(INCLUDE_DIR)/package.mk define Package/kismet/Default SECTION:=net CATEGORY:=Network TITLE:=Kismet - DEPENDS:= +uclibcxx +libnl + DEPENDS:= $(CXX_DEPENDS) +libnl URL:=http://www.kismetwireless.net/ SUBMENU:=wireless endef @@ -82,11 +83,9 @@ CONFIGURE_ARGS += \ --sysconfdir=/etc/kismet \ CONFIGURE_VARS += \ - CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ - LDFLAGS="$$$$LDFLAGS" \ - LIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" \ - CLIENTCLIBS="-nodefaultlibs -lc -luClibc++ -lm $(LIBGCC_S)" + CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \ + LIBS="-lm" \ + CLIENTCLIBS="-lm" define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \