Skip to contentSkip to conversation

package/log4cxx: fix ENABLE_ESMTP flag

PATCH Superseded Michael Nosthoff via buildroot 1 participant 1 message Feb 11

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/log4cxx: fix ENABLE_ESMTP flag

commit cf686670b99ae0388b27867db64516c09b2de91f introduced a patch that was later included in a release which made the usage of libesmtp configurable.

while the patch introduced the build flag LOG4CXX_ENABLE_ESMTP the change to the .mk file used LOG4CXX_LIBENABLE_ESMTP.

So correct this.

Fixes:
CMake Warning:
Manually-specified variables were not used by the project:
LOG4CXX_ENABLE_LIBESMTP

---
 package/log4cxx/log4cxx.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/log4cxx/log4cxx.mk +2 -2
index 2d8d57a612..4b85adbf92 100644
@@ -23,10 +23,10 @@ LOG4CXX_DEPENDENCIES += boost
 endif
 
 ifeq ($(BR2_PACKAGE_LIBESMTP),y)
-LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_LIBESMTP=ON
+LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_ESMTP=ON
 LOG4CXX_DEPENDENCIES += libesmtp
 else
-LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_LIBESMTP=OFF
+LOG4CXX_CONF_OPTS += -DLOG4CXX_ENABLE_ESMTP=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_UNIXODBC),y)
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot