diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-07 20:11:41 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-08 10:17:23 -0800 |
commit | 0253865a6caf0c874a536bbcc3f52d99b3762f41 (patch) | |
tree | 577bdb5d27b140dd8eebe309eef654197108e1b0 | |
parent | 6f3bc88294062b01a2f758e1483ea9726203b60c (diff) | |
download | meta-openembedded-contrib-0253865a6caf0c874a536bbcc3f52d99b3762f41.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-connectivity/transmission/transmission_git.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/transmission/transmission_git.bb b/meta-oe/recipes-connectivity/transmission/transmission_git.bb index 297185de72..57267a8de8 100644 --- a/meta-oe/recipes-connectivity/transmission/transmission_git.bb +++ b/meta-oe/recipes-connectivity/transmission/transmission_git.bb @@ -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() { |