[Buildroot] [git commit branch/next] package/log4cxx: add libesmtp optional dependency

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-08-28 15:33:19
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=2ff70353948f60047d2e7c747378cc1402d59dce
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

libesmtp is an optional dependency (disabled by default) since version
0.10.0 and
https://github.com/apache/logging-log4cxx/commit/8a35b429c6b1bc73635d9b6db482523619199a90

Signed-off-by: Fabrice Fontaine <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/log4cxx/log4cxx.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/package/log4cxx/log4cxx.mk b/package/log4cxx/log4cxx.mk
index 0ddea9466a..075f8cb371 100644
--- a/package/log4cxx/log4cxx.mk
+++ b/package/log4cxx/log4cxx.mk
@@ -22,4 +22,11 @@ LOG4CXX_CONF_OPTS = \
 
 LOG4CXX_DEPENDENCIES = apr apr-util
 
+ifeq ($(BR2_PACKAGE_LIBESMTP),y)
+LOG4CXX_DEPENDENCIES += libesmtp
+LOG4CXX_CONF_OPTS += --with-SMTP=libesmtp
+else
+LOG4CXX_CONF_OPTS += --without-SMTP
+endif
+
 $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help