commit:     dd304cf7d48da6beecc0beb5c6496bda0e177c94
Author:     Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 20:30:50 2016 +0000
Commit:     Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 20:30:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd304cf7

net-analyzer/ntopng: fixed bug with configuration

Fixed a bug (#599528) caused when building without libpcap.
Configuration script does not return an error code, so configure
phase was completed succesfully.

Reported-By: Toralf Förster <toralf.foerster <AT> gmx.de>

Package-Manager: portage-2.3.2

 net-analyzer/ntopng/ntopng-2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-analyzer/ntopng/ntopng-2.0.ebuild 
b/net-analyzer/ntopng/ntopng-2.0.ebuild
index 1f16266..eca802c 100644
--- a/net-analyzer/ntopng/ntopng-2.0.ebuild
+++ b/net-analyzer/ntopng/ntopng-2.0.ebuild
@@ -28,6 +28,7 @@ RDEPEND="${DEPEND}
 src_prepare() {
        cat "${S}/configure.seed" | sed "s/@VERSION@/${PV}/g" | sed 
"s/@SHORT_VERSION@/${PV}/g" > "${S}/configure.ac"
        epatch "${FILESDIR}/${P}-dont-build-ndpi.patch"
+       sed -i 's/exit$/exit 1/g' "${S}/configure.ac" "${S}/nDPI/configure.ac"
        eautoreconf
 
        cd "${S}/nDPI"

Reply via email to