diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-29 19:59:42 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-29 19:59:42 +0100 |
commit | 968f72fe9c44b3c52a3b15162ea9977c5402e08e (patch) | |
tree | c0c69bd50f0cbee513291a1a52d037d061a7ddf7 /net-analyzer/nagircbot | |
parent | media-video/dirac: Port to EAPI 8 (diff) | |
download | gentoo-968f72fe9c44b3c52a3b15162ea9977c5402e08e.tar.gz gentoo-968f72fe9c44b3c52a3b15162ea9977c5402e08e.tar.bz2 gentoo-968f72fe9c44b3c52a3b15162ea9977c5402e08e.zip |
net-analyzer/nagircbot: Port to EAPI 8
Closes: https://bugs.gentoo.org/826802
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer/nagircbot')
-rw-r--r-- | net-analyzer/nagircbot/nagircbot-0.0.33.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild index 69e3cf007436..74adb3d2cf47 100644 --- a/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild +++ b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit toolchain-funcs @@ -13,15 +13,14 @@ LICENSE="GPL-2" # GPL-2 only SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -CDEPEND=" - dev-libs/openssl:0=" -DEPEND="virtual/pkgconfig - ${CDEPEND}" -RDEPEND="net-analyzer/nagios-core - ${CDEPEND}" +DEPEND="dev-libs/openssl:0=" +RDEPEND="${DEPEND} +net-analyzer/nagios-core" +BDEPEND="virtual/pkgconfig" src_prepare() { - cp -av Makefile{,.org} + default + cp -av Makefile{,.org} || die sed -i Makefile \ -e 's:-lcrypto -lssl:$(shell ${PKG_CONFIG} --libs openssl):g' \ @@ -31,7 +30,7 @@ src_prepare() { src_compile() { tc-export PKG_CONFIG - emake CC=$(tc-getCC) CXX=$(tc-getCXX) + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" } src_install() { |