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-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" | |||
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
| 20 | 20 | ||
| 21 | inherit autotools gettext update-rc.d systemd mime-xdg | 21 | inherit autotools-brokensep gettext update-rc.d systemd mime-xdg |
| 22 | 22 | ||
| 23 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | 23 | PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ |
| 24 | ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" | 24 | ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" |
| @@ -33,12 +33,16 @@ TRANSMISSION_GROUP ??= "root" | |||
| 33 | 33 | ||
| 34 | # Configure aborts with: | 34 | # Configure aborts with: |
| 35 | # config.status: error: po/Makefile.in.in was not created by intltoolize. | 35 | # config.status: error: po/Makefile.in.in was not created by intltoolize. |
| 36 | B = "${S}" | 36 | do_configure() { |
| 37 | do_configure_prepend() { | ||
| 38 | sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac | 37 | sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac |
| 39 | cd ${S} | 38 | cd ${S} |
| 40 | ./update-version-h.sh | 39 | ./update-version-h.sh |
| 41 | intltoolize --copy --force --automake | 40 | intltoolize --copy --force --automake |
| 41 | aclocal | ||
| 42 | libtoolize --automake --copy --force | ||
| 43 | autoconf | ||
| 44 | automake -a | ||
| 45 | oe_runconf | ||
| 42 | } | 46 | } |
| 43 | 47 | ||
| 44 | do_install_append() { | 48 | do_install_append() { |
