From da1b08656406d69ace9105e32a54a0bdf215c67e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 19 Feb 2014 10:11:15 +0100 Subject: [PATCH] ModemManager: cross build support. --- srcpkgs/ModemManager/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ModemManager/template b/srcpkgs/ModemManager/template index 7141f18fb35..096bdc3775b 100644 --- a/srcpkgs/ModemManager/template +++ b/srcpkgs/ModemManager/template @@ -4,7 +4,7 @@ version=1.0.0 revision=2 build_style=gnu-configure configure_args="--disable-static --sbindir=/usr/bin --with-udev-base-dir=/usr/lib/udev --with-polkit=permissive" -hostmakedepends="pkg-config intltool" +hostmakedepends="pkg-config intltool glib-devel" makedepends="glib-devel libgudev-devel polkit-devel libqmi-devel libmbim-devel systemd-devel ppp" depends="hicolor-icon-theme ppp" systemd_services="${pkgname}.service on" @@ -15,6 +15,10 @@ license="GPL-2" distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" checksum=e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563 +pre_configure() { + sed -e 's,-Werror,,g' -i configure +} + ModemManager-devel_package() { depends="libmm-glib-${version}_${revision}" short_desc+=" - development files"