commit:     0662802372a980e6e5863f230ab6d976745d2723
Author:     Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 21 19:46:22 2016 +0000
Commit:     Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 19:48:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06628023

net-analyzer/ntopng: fixes problems with hardcoded g++ calls

Thanks to Thomas Deutschmann this should finally fixes problems with 600246.

Package-Manager: portage-2.3.2

 net-analyzer/ntopng/metadata.xml      | 3 ---
 net-analyzer/ntopng/ntopng-2.4.ebuild | 9 +++++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/net-analyzer/ntopng/metadata.xml b/net-analyzer/ntopng/metadata.xml
index 9b7a6e8..cab61f7 100644
--- a/net-analyzer/ntopng/metadata.xml
+++ b/net-analyzer/ntopng/metadata.xml
@@ -7,7 +7,4 @@
   <upstream>
     <remote-id type="sourceforge">ntop</remote-id>
   </upstream>
-  <use>
-    <flag name="redis">Enable REDIS support</flag>
-  </use>
 </pkgmetadata>

diff --git a/net-analyzer/ntopng/ntopng-2.4.ebuild 
b/net-analyzer/ntopng/ntopng-2.4.ebuild
index 6f8199c..75e58cc 100644
--- a/net-analyzer/ntopng/ntopng-2.4.ebuild
+++ b/net-analyzer/ntopng/ntopng-2.4.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=5
-inherit autotools eutils user
+inherit autotools eutils user toolchain-funcs
 
 DESCRIPTION="Network traffic analyzer with web interface"
 HOMEPAGE="http://www.ntop.org/";
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/ntop/${PN}/${P}-stable.tar.gz 
-> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="redis"
+IUSE=""
 
 DEPEND="dev-db/sqlite:3
        dev-python/pyzmq
@@ -20,14 +20,14 @@ DEPEND="dev-db/sqlite:3
        dev-libs/json-c
        dev-libs/geoip
        dev-libs/glib:2
-       redis? ( dev-libs/hiredis )
+       dev-libs/hiredis
        dev-libs/libxml2
        net-analyzer/rrdtool
        net-libs/libpcap
        net-misc/curl
        virtual/libmysqlclient"
 RDEPEND="${DEPEND}
-       redis? ( dev-db/redis )"
+       dev-db/redis"
 
 S="${WORKDIR}/${P}-stable"
 
@@ -44,6 +44,7 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export CC CXX LD NM OBJDUMP PKG_CONFIG
        cd "${S}/nDPI"
        econf
        cd "${S}"

Reply via email to