summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2016-11-11 21:30:50 +0100
committerSlawomir Lis <slis@gentoo.org>2016-11-11 21:30:50 +0100
commitdd304cf7d48da6beecc0beb5c6496bda0e177c94 (patch)
tree8092f5ead6329f41997ba814864abfa5678261fa
parentdev-perl/DateTime: Bump to 1.360.0 (diff)
downloadgentoo-dd304cf7d48da6beecc0beb5c6496bda0e177c94.tar.gz
gentoo-dd304cf7d48da6beecc0beb5c6496bda0e177c94.tar.bz2
gentoo-dd304cf7d48da6beecc0beb5c6496bda0e177c94.zip
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@gmx.de> Package-Manager: portage-2.3.2
-rw-r--r--net-analyzer/ntopng/ntopng-2.0.ebuild1
1 files changed, 1 insertions, 0 deletions
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"