summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Janczak2022-05-09 13:10:25 +0000
committerChristian Lamparter2022-05-19 14:39:11 +0000
commitd0e9603dc27ed6b792b37761f1433f12e51fa2be (patch)
tree2fea19177c13f0333208d1f27d1435bc2146ec97
parent20847f070f28df6f8eeacd9c9447ab3b497b2b84 (diff)
downloadchunkeey-d0e9603dc27ed6b792b37761f1433f12e51fa2be.tar.gz
lldpd: always depend on libbsd
lldpd calls setproctitle() and strtonum(); its configure.ac script has fallbacks for when they're not found, but they should come from libbsd instead. Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
-rw-r--r--package/network/services/lldpd/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile
index 8eb7e35716..ba1da1f9e8 100644
--- a/package/network/services/lldpd/Makefile
+++ b/package/network/services/lldpd/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lldpd
PKG_VERSION:=1.0.13
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://media.luffy.cx/files/lldpd
@@ -30,7 +30,7 @@ define Package/lldpd
SUBMENU:=Routing and Redirection
TITLE:=Link Layer Discovery Protocol daemon
URL:=https://vincentbernat.github.io/lldpd/
- DEPENDS:=+libcap +libevent2 +USE_GLIBC:libbsd +LLDPD_WITH_JSON:libjson-c +LLDPD_WITH_SNMP:libnetsnmp
+ DEPENDS:=+libcap +libevent2 +libbsd +LLDPD_WITH_JSON:libjson-c +LLDPD_WITH_SNMP:libnetsnmp
USERID:=lldp=121:lldp=129
MENU:=1
endef
@@ -107,8 +107,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LLDPD_WITH_CUSTOM),,--disable-custom) \
$(if $(CONFIG_LLDPD_WITH_SONMP),,--disable-sonmp) \
$(if $(CONFIG_LLDPD_WITH_JSON),--enable-json0,) \
- $(if $(CONFIG_LLDPD_WITH_SNMP),--with-snmp,) \
- $(if $(CONFIG_USE_GLIBC),,--without-libbsd)
+ $(if $(CONFIG_LLDPD_WITH_SNMP),--with-snmp,)
TARGET_CFLAGS += -flto
TARGET_LDFLAGS += -flto -Wl,--gc-sections,--as-needed