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>
This commit is contained in:
parent
c8c8c1a4a7
commit
d02a17b35b
1 changed files with 5 additions and 2 deletions
|
@ -25,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
|
||||
|
@ -44,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 \
|
||||
|
|
Loading…
Reference in a new issue