mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
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:
@@ -18,7 +18,7 @@ PV = "3.00"
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
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)} \
|
PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
|
${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
|
||||||
@@ -33,12 +33,16 @@ TRANSMISSION_GROUP ??= "root"
|
|||||||
|
|
||||||
# Configure aborts with:
|
# Configure aborts with:
|
||||||
# config.status: error: po/Makefile.in.in was not created by intltoolize.
|
# config.status: error: po/Makefile.in.in was not created by intltoolize.
|
||||||
B = "${S}"
|
do_configure() {
|
||||||
do_configure_prepend() {
|
|
||||||
sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac
|
sed -i /AM_GLIB_GNU_GETTEXT/d ${S}/configure.ac
|
||||||
cd ${S}
|
cd ${S}
|
||||||
./update-version-h.sh
|
./update-version-h.sh
|
||||||
intltoolize --copy --force --automake
|
intltoolize --copy --force --automake
|
||||||
|
aclocal
|
||||||
|
libtoolize --automake --copy --force
|
||||||
|
autoconf
|
||||||
|
automake -a
|
||||||
|
oe_runconf
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
|||||||
Reference in New Issue
Block a user