yate: revert uclibc++ commit 290/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 4 Mar 2018 18:21:09 +0000 (19:21 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 4 Mar 2018 18:21:28 +0000 (19:21 +0100)
This reverts commit b8b9818a13366e69eb769aeee973db18eecfcca8.

In hindsight I have to admit I did not correctly understand the
implications of the uclibc++.mk include.

The include allows a package to follow the user's choice regarding which
C++ library should be the standard. Linking against uClibc++ instead of
libstd++ is not a problem when running musl (which is what I had
incorrectly assumed), as both C++ libs are separate packages. And
uClibc++ is a lot smaller than libstd++, which is probably why it is
even the default C++ lib on OpenWrt currently.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/yate/Makefile

index f57a6e78bc432774ede33885180ade9e58574885..94310dc589509015310713f1ba3de6bbb43874c3 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yate
 PKG_VERSION:=6.0.0-1
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://yate.null.ro/tarballs/yate6/
@@ -28,6 +28,7 @@ PKG_INSTALL:=1
 # Yate currently does not compile with FORTIFY_SOURCE enabled
 PKG_FORTIFY_SOURCE:=0
 
+include $(INCLUDE_DIR)/uclibc++.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/$(PKG_NAME)/Default
@@ -39,7 +40,7 @@ endef
 
 define Package/$(PKG_NAME)
   $(call Package/yate/Default)
-  DEPENDS:=+libpthread +libstdcpp
+  DEPENDS:=+libpthread $(CXX_DEPENDS)
   TITLE:=Yet Another Telephony Engine
   MENU:=1
 endef