aboutsummaryrefslogtreecommitdiff
path: root/net/nethogs/files/patch-doc_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/nethogs/files/patch-doc_Makefile')
-rw-r--r--net/nethogs/files/patch-doc_Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/nethogs/files/patch-doc_Makefile b/net/nethogs/files/patch-doc_Makefile
new file mode 100644
index 000000000000..f4dd7125e9dc
--- /dev/null
+++ b/net/nethogs/files/patch-doc_Makefile
@@ -0,0 +1,24 @@
+--- doc/Makefile.orig 2024-02-25 09:26:05 UTC
++++ doc/Makefile
+@@ -1,15 +1,7 @@ UNAME_S := $(shell uname -s)
+ all:
+
+ UNAME_S := $(shell uname -s)
+-ifeq ($(UNAME_S),FreeBSD)
+- ifeq ($(PREFIX),/usr/local)
+- man8 := $(PREFIX)/man/man8
+- else
+- man8 := $(PREFIX)/share/man/man8
+- endif
+-else
+- man8 := $(PREFIX)/share/man/man8
+-endif
++man8 := $(PREFIX)/share/man/man8
+
+ install: nethogs.8
+ install -d -m 755 $(DESTDIR)$(man8)
+@@ -17,4 +9,3 @@ uninstall:
+
+ uninstall:
+ rm $(DESTDIR)$(man8)/nethogs.8 || true
+-