We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+.
This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g'
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Include proper config.h (via log4cpp/Portability.hh) to fix the
evaluate of LOG4CPP_HAVE_STDINT_H in the file tests/Clock.hh
Fixes [1]:
Clock.hh:17:13: error: 'int64_t' does not name a type
typedef int64_t usec_t;
[1] http://autobuild.buildroot.net/results/186/1867632f30531da69f06b965bc833817400f618f
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Damien Lanson <damien@kal-host.com>
[Thomas:
- Rewrap Config.in help text.
- Add missing new line at the end of the Config.in help text.
- Use 80 # signs for the .mk file header.
- Use <pkg>_SUBDIR = log4cpp instead of moving things around during the
extract step.
- Fix typo in the license (it's LGPL, not GLPL), and make it LGPLv2.1+,
since it's what the HTML documentation says.
- In addition to removing the log4cpp-config script from the target,
tweak the variant installed in staging so that it behaves properly
for cross-compilation. Unfortunately, the <pkg>_CONFIG_SCRIPTS
generic mechanism doesn't work for this config script.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>