summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/irssistats/irssistats-0.75-r1.ebuild')
-rw-r--r--net-irc/irssistats/irssistats-0.75-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-irc/irssistats/irssistats-0.75-r1.ebuild b/net-irc/irssistats/irssistats-0.75-r1.ebuild
index 3f7fd1cb742d..0a674f4d68c6 100644
--- a/net-irc/irssistats/irssistats-0.75-r1.ebuild
+++ b/net-irc/irssistats/irssistats-0.75-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -16,8 +16,13 @@ KEYWORDS="amd64 ppc sparc x86"
DEPEND="net-irc/irssi"
+src_prepare() {
+ default
+ eapply "${FILESDIR}/${P}-Makefile.patch"
+}
+
src_compile() {
- $(tc-getCC) -o irssistats ${CFLAGS} ${LDFLAGS} irssistats.c
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_install() {