commit: 9e3ab652b2a50bfe001fe6326cf5ae1d94f2ac32
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 09:21:46 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 09:23:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3ab652
net-analyzer/ntopng: Set Makefile overrides
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
.../ntopng/{ntopng-3.8.1-r1.ebuild => ntopng-3.8.1-r2.ebuild} | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/net-analyzer/ntopng/ntopng-3.8.1-r1.ebuild
b/net-analyzer/ntopng/ntopng-3.8.1-r2.ebuild
similarity index 94%
rename from net-analyzer/ntopng/ntopng-3.8.1-r1.ebuild
rename to net-analyzer/ntopng/ntopng-3.8.1-r2.ebuild
index 999edd283b2..fb5e82a0194 100644
--- a/net-analyzer/ntopng/ntopng-3.8.1-r1.ebuild
+++ b/net-analyzer/ntopng/ntopng-3.8.1-r2.ebuild
@@ -64,6 +64,13 @@ src_configure() {
default
}
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ MYCFLAGS="${CFLAGS}" \
+ MYLDFLAGS="${LDFLAGS}"
+}
+
src_install() {
SHARE_NTOPNG_DIR="${EPREFIX}/usr/share/${PN}"
dodir ${SHARE_NTOPNG_DIR}