net-p2p/transmission-remote-gtk: Don't build with -Werror (#593926)
authorPacho Ramos <pacho@gentoo.org>
Sun, 18 Jun 2017 09:51:39 +0000 (11:51 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 18 Jun 2017 09:52:30 +0000 (11:52 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

net-p2p/transmission-remote-gtk/transmission-remote-gtk-1.3.1.ebuild

index b1ed0caebd5df489dd07326bdc7b50cd82813ca4..59bfe79bac995a63a48cda5d0eea717fde2d99d9 100644 (file)
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+GNOME2_EAUTORECONF="yes"
 
 inherit gnome2
 
@@ -36,13 +37,15 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
 "
 
-DOCS="AUTHORS ChangeLog README"
+src_prepare() {
+       sed -i -e '/-Werror/d' configure.ac || die
+       gnome2_src_prepare
+}
 
 src_configure() {
        # Disable overly strict appdata validation
        gnome2_src_configure \
                $(use_enable debug) \
-               --enable-gtk3 \
                $(use_with geoip libgeoip) \
                $(use_with libnotify) \
                $(use_with libproxy) \