From: Slawomir Lis Date: Fri, 11 Nov 2016 20:30:50 +0000 (+0100) Subject: net-analyzer/ntopng: fixed bug with configuration X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=dd304cf7d48da6beecc0beb5c6496bda0e177c94;p=gentoo.git 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 Package-Manager: portage-2.3.2 --- diff --git a/net-analyzer/ntopng/ntopng-2.0.ebuild b/net-analyzer/ntopng/ntopng-2.0.ebuild index 1f16266f6ea7..eca802c1fd0b 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"