diff options
author | Rosen Penev <rosenp@gmail.com> | 2018-10-11 13:17:17 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2018-10-15 12:27:04 -0700 |
commit | 5f41d05c7177e9971bb3b36d1a64e4f077e19966 (patch) | |
tree | 7093922062bb5afb7a35e227df45a2ed1c687f88 /net/darkstat/Makefile | |
parent | 0ecf61d51db948b230f3be88ea651dbd9819206d (diff) |
darkstat: Remove libbsd dependency
darkstat includes its own strlcat and strlcpy, making the dependency
somewhat pointless.
Fixes compilation ever since glibc dependency on libbsd was removed.
Also removed std=gnu99 as it's not needed with GCC7.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/darkstat/Makefile')
-rw-r--r-- | net/darkstat/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/darkstat/Makefile b/net/darkstat/Makefile index 379c2600a..bf00a7819 100644 --- a/net/darkstat/Makefile +++ b/net/darkstat/Makefile @@ -1,6 +1,4 @@ # -# Copyright (C) 2007-2016 OpenWrt.org -# # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # @@ -9,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=darkstat PKG_VERSION:=3.0.719 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Jean-Michel Lacroix <lacroix@lepine-lacroix.info> @@ -27,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk define Package/darkstat SECTION:=net CATEGORY:=Network - DEPENDS:=+libpcap +zlib +USE_GLIBC:libbsd + DEPENDS:=+libpcap +zlib TITLE:=Network bandwidth monitor URL:=http://unix4lyfe.org/darkstat/ endef @@ -46,7 +44,10 @@ CONFIGURE_ARGS += \ --disable-debug \ --with-chroot-dir=/var/empty -TARGET_CFLAGS += -std=gnu99 +CONFIGURE_VARS += \ + ac_cv_search_setproctitle=no \ + ac_cv_search_strlcpy=no \ + ac_cv_search_strlcat=no define Build/Compile $(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \ |