diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-02-25 22:30:26 +0000 |
|---|---|---|
| committer | Ross Burton <ross.burton@arm.com> | 2025-02-27 20:28:17 +0000 |
| commit | b3cb662fe3d624f70ee98a24c2b565c3e2301a53 (patch) | |
| tree | bf8765f4658bc0d493d5ea014409afba849e06e7 | |
| parent | e989546d7de778f779ef78504f6caadab5aa6899 (diff) | |
| download | meta-openembedded-b3cb662fe3d624f70ee98a24c2b565c3e2301a53.tar.gz | |
xmlrpc-c: use autoreconf
Add a patch to not use AM_INIT_AUTOMAKE as automake isn't actually used,
and just let autotools.bbclass run autoreconf.
Signed-off-by: Ross Burton <ross.burton@arm.com>
| -rw-r--r-- | meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch | 18 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb | 7 |
2 files changed, 21 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch new file mode 100644 index 0000000000..f309cd4890 --- /dev/null +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | This doesn't use automake so don't turn it on, as autoreconf will refuse to work. | ||
| 2 | |||
| 3 | Upstream-Status: Submitted | ||
| 4 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
| 5 | |||
| 6 | diff --git i/stable/configure.in w/stable/configure.in | ||
| 7 | index 4a9ade8c..baba1edc 100644 | ||
| 8 | --- i/configure.in | ||
| 9 | +++ w/configure.in | ||
| 10 | @@ -8,7 +8,7 @@ dnl ======================================================================= | ||
| 11 | |||
| 12 | dnl "x.xx" is supposed to be a version number, but is meaningless here. | ||
| 13 | dnl The real version number is in Makefile.version. | ||
| 14 | -AM_INIT_AUTOMAKE(xmlrpc-c, x.xx) | ||
| 15 | +dnl AM_INIT_AUTOMAKE(xmlrpc-c, x.xx) | ||
| 16 | |||
| 17 | dnl Define @build@, @build_cpu@, @build_vendor@, @build_os, | ||
| 18 | dnl @host, @host_cpu@, @host_vender, and @host_os@ substitutions. | ||
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb index f5ee920cad..0e0385ab29 100644 --- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb | |||
| @@ -6,6 +6,7 @@ LICENSE = "BSD-3-Clause & MIT" | |||
| 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" | 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" |
| 7 | 7 | ||
| 8 | SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ | 8 | SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ |
| 9 | file://no-automake.patch \ | ||
| 9 | file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ | 10 | file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ |
| 10 | file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \ | 11 | file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \ |
| 11 | " | 12 | " |
| @@ -18,6 +19,7 @@ inherit autotools-brokensep binconfig pkgconfig | |||
| 18 | 19 | ||
| 19 | TARGET_CFLAGS += "-Wno-narrowing" | 20 | TARGET_CFLAGS += "-Wno-narrowing" |
| 20 | 21 | ||
| 22 | # These are needed for the integrated expat | ||
| 21 | EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \ | 23 | EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \ |
| 22 | LD_FOR_BUILD='${BUILD_LD}' \ | 24 | LD_FOR_BUILD='${BUILD_LD}' \ |
| 23 | CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \ | 25 | CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \ |
| @@ -32,10 +34,7 @@ PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-ab | |||
| 32 | PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus" | 34 | PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus" |
| 33 | PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl" | 35 | PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl" |
| 34 | 36 | ||
| 35 | do_configure() { | 37 | do_configure:prepend() { |
| 36 | gnu-configize --verbose --force ${S} | ||
| 37 | autoconf | ||
| 38 | oe_runconf | ||
| 39 | # license is incompatible with lib/util/getoptx.* | 38 | # license is incompatible with lib/util/getoptx.* |
| 40 | rm -fv ${S}/tools/turbocharger/mod_gzip.c | 39 | rm -fv ${S}/tools/turbocharger/mod_gzip.c |
| 41 | } | 40 | } |
