net-libs/libaccounts-glib: Really disable broken tests
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 20 Sep 2015 21:13:47 +0000 (23:13 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 21 Sep 2015 15:20:10 +0000 (01:20 +1000)
Bug: https://bugs.gentoo.org/show_bug.cgi?id=560656

Package-Manager: portage-2.2.20.1

net-libs/libaccounts-glib/libaccounts-glib-1.18.ebuild

index 6f974fba62bbd52328aa27f1c95e8e3cac7dabe7..b3373fd66f96e80abeaccd5e2219dedc3d9f5300 100644 (file)
@@ -4,8 +4,6 @@
 
 EAPI=5
 
-inherit autotools
-
 DESCRIPTION="Accounts SSO (Single Sign-On) management library for GLib applications"
 HOMEPAGE="https://01.org/gsso/"
 SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${P}.tar.gz"
@@ -24,12 +22,9 @@ DEPEND="
 
 RDEPEND="$DEPEND"
 
-src_prepare() {
-       sed -i -e "/tests\/Makefile/d" configure.ac || die
-       eautoreconf
-}
-
 src_configure() {
        export HAVE_GCOV_FALSE='#'
-       econf $(use_enable debug)
+       econf \
+               $(use_enable debug) \
+               --disable-tests
 }