Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/suck/
Date: Tue, 28 Apr 2020 08:29:23
Message-Id: 1588062543.b5aece8e7c84de10a3713e4588f1a20a1b62ad4a.juippis@gentoo
1 commit: b5aece8e7c84de10a3713e4588f1a20a1b62ad4a
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 28 08:27:46 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 28 08:29:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5aece8e
7
8 net-nntp/suck: tidy 4.3.4 ebuild
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 net-nntp/suck/suck-4.3.4.ebuild | 10 ++++++++--
13 1 file changed, 8 insertions(+), 2 deletions(-)
14
15 diff --git a/net-nntp/suck/suck-4.3.4.ebuild b/net-nntp/suck/suck-4.3.4.ebuild
16 index 6e3a5533c5c..ecb5006bebe 100644
17 --- a/net-nntp/suck/suck-4.3.4.ebuild
18 +++ b/net-nntp/suck/suck-4.3.4.ebuild
19 @@ -2,6 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=7
23 +
24 inherit autotools
25
26 DESCRIPTION="Grab news from a remote NNTP server and feed them to another"
27 @@ -37,8 +38,13 @@ src_prepare() {
28 }
29
30 src_configure() {
31 - use ssl || sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed"
32 - use perl || sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed"
33 + if use ssl; then
34 + sed -i -e 's/^SSL_/#SSL_/' Makefile.in || die "ssl sed failed"
35 + fi
36 +
37 + if use perl; then
38 + sed -i -e 's/^PERL_/#PERL_/' Makefile.in || die "perl sed failed"
39 + fi
40
41 econf --without-inn-lib --without-inn-include
42 }