Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/wavemon: add libcap optional dependency
@ 2021-09-19 14:53 Fabrice Fontaine
  2021-09-19 14:53 ` [Buildroot] [PATCH 2/2] package/wavemon: bump to version 0.9.4 Fabrice Fontaine
  2021-10-05 14:18 ` [Buildroot] [PATCH 1/2] package/wavemon: add libcap optional dependency Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2021-09-19 14:53 UTC (permalink / raw)
  To: buildroot; +Cc: Jörg Krause, Fabrice Fontaine

libcap is an optional dependency which is enabled by default since
version 0.7.1 and
https://github.com/uoaerg/wavemon/commit/669c53e3359af5f6d4044126e22ab95f40a968f4
and can be explicitly enabled or disabled since version 0.9.0 and
https://github.com/uoaerg/wavemon/commit/af36fbe75649f745e205cd961302b656b8461e06

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/wavemon/wavemon.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/wavemon/wavemon.mk b/package/wavemon/wavemon.mk
index 3ae1141ec4..d2af6c2bc0 100644
--- a/package/wavemon/wavemon.mk
+++ b/package/wavemon/wavemon.mk
@@ -13,4 +13,11 @@ WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses
 # Handwritten Makefile.in, automake isn't used
 WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)"
 
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+WAVEMON_CONF_OPTS += --with-libcap
+WAVEMON_DEPENDENCIES += libcap
+else
+WAVEMON_CONF_OPTS += --without-libcap
+endif
+
 $(eval $(autotools-package))
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-05 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-19 14:53 [Buildroot] [PATCH 1/2] package/wavemon: add libcap optional dependency Fabrice Fontaine
2021-09-19 14:53 ` [Buildroot] [PATCH 2/2] package/wavemon: bump to version 0.9.4 Fabrice Fontaine
2021-10-05 14:18 ` [Buildroot] [PATCH 1/2] package/wavemon: add libcap optional dependency Peter Korsgaard
2021-10-05 16:41   ` Baruch Siach via buildroot
2021-10-05 16:55     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox