summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-12-30 10:21:46 +0100
committerJeroen Roovers <jer@gentoo.org>2019-12-30 10:23:11 +0100
commit9e3ab652b2a50bfe001fe6326cf5ae1d94f2ac32 (patch)
tree10ed19f4d93d476ca7126cc2fe2db6fc15cb77c5 /net-analyzer/ntopng
parentsys-fs/hfsutils: Add Debian patch level 14 (diff)
downloadgentoo-9e3ab652b2a50bfe001fe6326cf5ae1d94f2ac32.tar.gz
gentoo-9e3ab652b2a50bfe001fe6326cf5ae1d94f2ac32.tar.bz2
gentoo-9e3ab652b2a50bfe001fe6326cf5ae1d94f2ac32.zip
net-analyzer/ntopng: Set Makefile overrides
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/ntopng')
-rw-r--r--net-analyzer/ntopng/ntopng-3.8.1-r2.ebuild (renamed from net-analyzer/ntopng/ntopng-3.8.1-r1.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-analyzer/ntopng/ntopng-3.8.1-r1.ebuild b/net-analyzer/ntopng/ntopng-3.8.1-r2.ebuild
index 999edd283b2e..fb5e82a01945 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}