Skip to contentSkip to conversation

package/log4cpp: force autoreconf

PATCH New Bernd Kuhls 2 participants 2 messages Sep 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/log4cpp: force autoreconf

The upstream provided configure script produces a broken log4cpp-1.1.3/log4cpp/include/log4cpp/config.h file with its custom AC_CREATE_PREFIX_CONFIG_H m4 macro.
Running autoreconf fixes this problem.

Fixes
http://autobuild.buildroot.net/results/9be/9be23d91098d2f3724bb9535333fed8d27ef992a/

---
 package/log4cpp/log4cpp.mk | 2 ++
 1 file changed, 2 insertions(+)
package/log4cpp/log4cpp.mk +2 -0
index aab05f22f..6d6de16d3 100644
@@ -13,6 +13,8 @@ LOG4CPP_LICENSE = LGPL-2.1+
 LOG4CPP_LICENSE_FILES = log4cpp/COPYING
 LOG4CPP_INSTALL_STAGING = YES
 LOG4CPP_CONF_OPTS = --enable-doxygen=no --enable-dot=no
+LOG4CPP_AUTORECONF = YES
+LOG4CPP_AUTORECONF_OPTS = -I m4
 
 # The default <pkg>_CONFIG_SCRIPTS handling does not apply
 define LOG4CPP_STAGING_CONFIG_SCRIPT_FIXUP
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/log4cpp: force autoreconf

Hello,

Quoted 5 lines · Bernd Kuhls

The upstream provided configure script produces a broken log4cpp-1.1.3/log4cpp/include/log4cpp/config.h file with its custom AC_CREATE_PREFIX_CONFIG_H m4 macro.
Running autoreconf fixes this problem.

Quoted 7 lines

Fixes
http://autobuild.buildroot.net/results/9be/9be23d91098d2f3724bb9535333fed8d27ef992a/

---
 package/log4cpp/log4cpp.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied to master, thanks. Could you report the bug upstream? Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com