From 8b7d64c5886fb5fbe4bb482f93be03e157f06fc2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 4 Jan 2022 06:46:17 +0000 Subject: [PATCH] net-libs/nDPI: keep version workaround for now Should be able to drop this in the next release. Signed-off-by: Sam James --- net-libs/nDPI/{nDPI-4.0.ebuild => nDPI-4.0-r1.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) rename net-libs/nDPI/{nDPI-4.0.ebuild => nDPI-4.0-r1.ebuild} (85%) diff --git a/net-libs/nDPI/nDPI-4.0.ebuild b/net-libs/nDPI/nDPI-4.0-r1.ebuild similarity index 85% rename from net-libs/nDPI/nDPI-4.0.ebuild rename to net-libs/nDPI/nDPI-4.0-r1.ebuild index 8516413b47eb6..4be4dd426cc0f 100644 --- a/net-libs/nDPI/nDPI-4.0.ebuild +++ b/net-libs/nDPI/nDPI-4.0-r1.ebuild @@ -41,6 +41,13 @@ src_prepare() { src/lib/Makefile.in || die eautoreconf + + # Should be able to drop in next version. + # Taken from autogen.sh (bug #704074): + sed -i \ + -e "s/#define PACKAGE/#define NDPI_PACKAGE/g" \ + -e "s/#define VERSION/#define NDPI_VERSION/g" \ + configure || die } src_test() {