commit:     4dd933fe80586639c7612f845a184c64a5a03936
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 04:45:10 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 04:45:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd933fe

net-irc/ircstats: respect CFLAGS, CC

Just needed to drop a misplaced 'default'!

Closes: https://bugs.gentoo.org/727776
Closes: https://bugs.gentoo.org/724972
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/ircstats/ircstats-1.2.ebuild | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/net-irc/ircstats/ircstats-1.2.ebuild 
b/net-irc/ircstats/ircstats-1.2.ebuild
index d5034507237..c893f91fb28 100644
--- a/net-irc/ircstats/ircstats-1.2.ebuild
+++ b/net-irc/ircstats/ircstats-1.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 MY_P="IRCStats-${PV}"
 
@@ -14,10 +14,9 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-S="${WORKDIR}"/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
 src_compile() {
-       default
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
 }
 
@@ -29,6 +28,6 @@ src_install() {
 }
 
 pkg_postinst() {
-       elog "The IRCStats files have been installed in /usr/share/ircstats"
-       elog "You can find an example ircstats.cfg in /usr/share/doc/${PF}"
+       elog "The IRCStats files have been installed in 
${EROOT}/usr/share/ircstats"
+       elog "You can find an example ircstats.cfg in 
${EROOT}/usr/share/doc/${PF}"
 }

Reply via email to