summaryrefslogtreecommitdiff
path: root/net/ntopng/files/patch-Makefile.in
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2023-11-03 19:59:34 +0100
committerGuido Falsi <madpilot@FreeBSD.org>2023-11-03 19:59:34 +0100
commit86e508eecb74d4b209b2884f6e5dfe5ae94a2601 (patch)
treeb1781241364899a5809630480352a4f004fa59d0 /net/ntopng/files/patch-Makefile.in
parentnet/ndpi: Update to latest upstream commit (diff)
net/ntopng: Update to 6.0
- Remove USES=ldap, not used - Remove upstreamed patch - Adapt ssl detection to properly work in ports tree
Diffstat (limited to 'net/ntopng/files/patch-Makefile.in')
-rw-r--r--net/ntopng/files/patch-Makefile.in17
1 files changed, 15 insertions, 2 deletions
diff --git a/net/ntopng/files/patch-Makefile.in b/net/ntopng/files/patch-Makefile.in
index 322943c10fac..9aa5b90e75b4 100644
--- a/net/ntopng/files/patch-Makefile.in
+++ b/net/ntopng/files/patch-Makefile.in
@@ -1,4 +1,4 @@
---- Makefile.in.orig 2022-07-29 17:15:08 UTC
+--- Makefile.in.orig 2023-11-03 09:27:20 UTC
+++ Makefile.in
@@ -40,7 +40,8 @@ else ifeq ($(OS), $(filter $(OS), FreeBSD))
LUA_PLATFORM=macosx
@@ -10,7 +10,20 @@
endif
-@@ -99,7 +100,7 @@ RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVIS
+@@ -77,11 +78,7 @@ ifeq ($(HAS_ZSTD), 0)
+
+ HAS_ZSTD=$(shell $(PKG_CONFIG) --exists libzstd && echo 0)
+ ifeq ($(HAS_ZSTD), 0)
+- ifeq ($(OS), $(filter $(OS), FreeBSD))
+- ZSTD_LIB = /usr/local/lib/libzstd.a
+- else
+- ZSTD_LIB = $(shell $(PKG_CONFIG) --libs libzstd)
+- endif
++ ZSTD_LIB = $(shell $(PKG_CONFIG) --libs libzstd)
+ endif
+
+ ######
+@@ -102,7 +99,7 @@ RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVIS
RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVISION@.noarch.rpm
######