Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagircbot/
Date: Mon, 29 Nov 2021 19:01:07
Message-Id: 1638212382.968f72fe9c44b3c52a3b15162ea9977c5402e08e.jsmolic@gentoo
1 commit: 968f72fe9c44b3c52a3b15162ea9977c5402e08e
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 29 18:59:42 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 18:59:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968f72fe
7
8 net-analyzer/nagircbot: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/826802
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 net-analyzer/nagircbot/nagircbot-0.0.33.ebuild | 17 ++++++++---------
14 1 file changed, 8 insertions(+), 9 deletions(-)
15
16 diff --git a/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild
17 index 69e3cf007436..74adb3d2cf47 100644
18 --- a/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild
19 +++ b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 inherit toolchain-funcs
28
29 @@ -13,15 +13,14 @@ LICENSE="GPL-2" # GPL-2 only
30 SLOT="0"
31 KEYWORDS="~amd64 ~ppc ~x86"
32
33 -CDEPEND="
34 - dev-libs/openssl:0="
35 -DEPEND="virtual/pkgconfig
36 - ${CDEPEND}"
37 -RDEPEND="net-analyzer/nagios-core
38 - ${CDEPEND}"
39 +DEPEND="dev-libs/openssl:0="
40 +RDEPEND="${DEPEND}
41 +net-analyzer/nagios-core"
42 +BDEPEND="virtual/pkgconfig"
43
44 src_prepare() {
45 - cp -av Makefile{,.org}
46 + default
47 + cp -av Makefile{,.org} || die
48
49 sed -i Makefile \
50 -e 's:-lcrypto -lssl:$(shell ${PKG_CONFIG} --libs openssl):g' \
51 @@ -31,7 +30,7 @@ src_prepare() {
52
53 src_compile() {
54 tc-export PKG_CONFIG
55 - emake CC=$(tc-getCC) CXX=$(tc-getCXX)
56 + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
57 }
58
59 src_install() {