[packages] ctorrent libc++ fix
authorJohn Crispin <john@openwrt.org>
Fri, 3 Aug 2012 21:35:38 +0000 (21:35 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 3 Aug 2012 21:35:38 +0000 (21:35 +0000)
SVN-Revision: 32965

net/ctorrent/Makefile

index a3e54cbd39534df6b7353f1b2395ed188732ae8d..e6db4a5dd45fd6a5538b70ee8cf621a628bb30da 100644 (file)
@@ -18,13 +18,14 @@ PKG_MD5SUM:=59b23dd05ff70791cd6449effa7fc3b6
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
+include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ctorrent/Default
   SUBMENU:=BitTorrent
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+uclibcxx
+  DEPENDS:=$(CXX_DEPENDS)
   TITLE:=console-based BitTorrent client
   MAINTAINER:=Peter Wagner <tripolar@gmx.at>
   URL:=http://www.rahul.net/dholmes/ctorrent/
@@ -60,7 +61,6 @@ $(call Package/ctorrent/Default/description)
 endef
 
 CONFIGURE_VARS += \
-       CXX="g++-uc" \
        CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
        LIBS="-nodefaultlibs -lc -luClibc++ $(LIBGCC_S) -lc"