Skip to contentSkip to conversation

transmission: Fix build with autotools 2.70+

PATCH New Khem Raj 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 .../transmission/transmission_git.bb                   | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
meta-oe/recipes-connectivity/transmission/transmission_git.bb +7 -3
index 297185de72..57267a8de8 100644
@@ -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() {
Signature · 1 line
2.30.0