summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2024-09-10 22:06:51 +0200
committerKhem Raj <raj.khem@gmail.com>2024-09-12 14:16:20 -0700
commit5c87230ad035373cd97f7a869d6ada7ebf14e4f6 (patch)
treedaf10060d1d40fc3010aa4d3860526bac84964a5
parent2f95897a63be75d7b4163cc4cf3a686c9bc47a22 (diff)
downloadmeta-openembedded-5c87230ad035373cd97f7a869d6ada7ebf14e4f6.tar.gz
libconfuse: switch to release tar archive
Building autotools packages from git can be a bit tricky and requires manual invocations of autogen.sh, etc. An attempt to build for native build fails with: | autoreconf: running: autopoint --force | Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318. | autoreconf: error: autopoint failed with exit status: 2 | WARNING: exit code 2 from a shell command. Since the project itself states > Please ensure you download a versioned archive from: > https://github.com/libconfuse/libconfuse/releases/ simply switch this recipe to using release archives and thus simplify it and fix the automake issue. Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb10
1 files changed, 3 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
index cb9a11c128..ec6d6c7c8c 100644
--- a/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
+++ b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
@@ -2,15 +2,11 @@ SUMMARY = "libConfuse is a configuration file parser library"
2LICENSE = "ISC" 2LICENSE = "ISC"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a"
4 4
5SRCREV = "a42aebf13db33afd575da6e63f55163d371f776d" 5SRC_URI = "https://github.com/libconfuse/libconfuse/releases/download/v${PV}/confuse-${PV}.tar.gz"
6SRC_URI = "git://github.com/libconfuse/libconfuse.git;branch=master;protocol=https" 6SRC_URI[sha256sum] = "3a59ded20bc652eaa8e6261ab46f7e483bc13dad79263c15af42ecbb329707b8"
7 7
8inherit autotools-brokensep pkgconfig gettext 8inherit autotools-brokensep pkgconfig gettext
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/confuse-${PV}"
11
12do_configure:prepend(){
13 (cd ${S} && ${S}/autogen.sh)
14}
15 11
16BBCLASSEXTEND = "native nativesdk" 12BBCLASSEXTEND = "native nativesdk"