transmission: Fix build with autotools 2.70+

Eventually when 3.1 is released autotools is replaced with cmake as per
[1], so we will have to migrate to cmake

[1] https://github.com/transmission/transmission/issues/1573

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2021-02-07 20:11:41 -08:00
parent 6f3bc88294
commit 0253865a6c
@@ -18,7 +18,7 @@ PV = "3.00"
S = "${WORKDIR}/git"
inherit autotools gettext update-rc.d systemd mime-xdg
inherit autotools-brokensep gettext update-rc.d systemd mime-xdg
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
@@ -33,12 +33,16 @@ TRANSMISSION_GROUP ??= "root"
# Configure aborts with:
# config.status: error: po/Makefile.in.in was not created by intltoolize.
B = "${S}"
do_configure_prepend() {
do_configure() {
sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac
cd ${S}
./update-version-h.sh
intltoolize --copy --force --automake
aclocal
libtoolize --automake --copy --force
autoconf
automake -a
oe_runconf
}
do_install_append() {