commit: 968f72fe9c44b3c52a3b15162ea9977c5402e08e Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Mon Nov 29 18:59:42 2021 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Mon Nov 29 18:59:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968f72fe
net-analyzer/nagircbot: Port to EAPI 8 Closes: https://bugs.gentoo.org/826802 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> net-analyzer/nagircbot/nagircbot-0.0.33.ebuild | 17 ++++++++--------- 1 file 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() {
