summaryrefslogtreecommitdiff
path: root/package/tntnet
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-22 08:02:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-22 08:02:29 +0200
commit303ae71120a965eb4295a6f3aa6e1813da010cc5 (patch)
treeae4d55d85b415d24d9794418866e6a52faa8012d /package/tntnet
parent004052ce72369e657785d7f8b59b83cb59c4bdd4 (diff)
remove uclibc++ support, does not work well for arm
Diffstat (limited to 'package/tntnet')
-rw-r--r--package/tntnet/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
index 8e25b1c29..524f4d31f 100644
--- a/package/tntnet/Makefile
+++ b/package/tntnet/Makefile
@@ -5,12 +5,12 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= tntnet
PKG_VERSION:= 2.2.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= febe799675c1b8b2f7259bad30cf6f23
PKG_DESCR:= small C++ application server
PKG_SECTION:= www
PKG_DEPENDS:= cxxtools zlib libpthread
-PKG_BUILDDEP:= cxxtools zlib libiconv-tiny
+PKG_BUILDDEP:= cxxtools zlib
PKG_URL:= http://www.tntnet.org/
PKG_SITES:= http://www.tntnet.org/download/
PKG_NEED_CXX:= 1
@@ -49,20 +49,6 @@ CONFIGURE_ARGS+= --without-epoll \
CONFIGURE_ENV+= CXXFLAGS='${TARGET_CXXFLAGS}' \
ac_cv_path_cxxtools_config=${STAGING_TARGET_DIR}/usr/bin
-ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
-TARGET_CXXFLAGS+= -fno-builtin -nostdinc++ \
- -I${STAGING_TARGET_DIR}/usr/include/uClibc++ -Wl,-E
-TARGET_LDFLAGS+= -luClibc++ -lm -lc -ldl -nodefaultlibs -shared
-else
-TARGET_LDFLAGS+= -ldl
-endif
-
-ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
-# add workaround because libtool tries to link libstdc++
-post-configure:
- ${SED} 's#postdeps="-lstdc.*#postdeps="-lm"#' \
- ${WRKBUILD}/libtool
-endif
tntnet-install:
${INSTALL_DIR} ${IDIR_TNTNET}/www