From: Joonas Niilola Date: Tue, 28 Apr 2020 08:27:46 +0000 (+0300) Subject: net-nntp/suck: tidy 4.3.4 ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5aece8e7c84de10a3713e4588f1a20a1b62ad4a;p=gentoo.git net-nntp/suck: tidy 4.3.4 ebuild Signed-off-by: Joonas Niilola --- diff --git a/net-nntp/suck/suck-4.3.4.ebuild b/net-nntp/suck/suck-4.3.4.ebuild index 6e3a5533c5c3..ecb5006bebe9 100644 --- a/net-nntp/suck/suck-4.3.4.ebuild +++ b/net-nntp/suck/suck-4.3.4.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools DESCRIPTION="Grab news from a remote NNTP server and feed them to another" @@ -37,8 +38,13 @@ src_prepare() { } src_configure() { - use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" - use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" + if use ssl; then + sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed" + fi + + if use perl; then + sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed" + fi econf --without-inn-lib --without-inn-include }