aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/ntpstat/Makefile2
-rw-r--r--sysutils/ntpstat/files/patch-Makefile9
2 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/ntpstat/Makefile b/sysutils/ntpstat/Makefile
index 73ef98aede5b..2e7ec43dbfdd 100644
--- a/sysutils/ntpstat/Makefile
+++ b/sysutils/ntpstat/Makefile
@@ -20,7 +20,7 @@ SHEBANG_FILES= ntpstat
USE_GITHUB= yes
GH_ACCOUNT= mlichvar
-MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}" mandir="${STAGEDIR}${PREFIX}/share"
+MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}"
NO_BUILD= yes
NO_ARCH= yes
diff --git a/sysutils/ntpstat/files/patch-Makefile b/sysutils/ntpstat/files/patch-Makefile
new file mode 100644
index 000000000000..0203258eaa2b
--- /dev/null
+++ b/sysutils/ntpstat/files/patch-Makefile
@@ -0,0 +1,9 @@
+--- Makefile.orig 2020-06-11 03:31:47.000000000 -0700
++++ Makefile 2024-01-11 08:21:31.317545000 -0800
+@@ -1,6 +1,5 @@
+ NAME = ntpstat
+
+-prefix = /usr/local
+ bindir = $(prefix)/bin
+ mandir = $(prefix)/share/man
+ man1dir = $(mandir)/man1