aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-01-11 16:24:47 +0000
committerCy Schubert <cy@FreeBSD.org>2024-01-11 16:38:54 +0000
commit40e201bdf06f2392114165a4183fc65ab6026b9d (patch)
treee27771410ce5b1688b16166e24c4ba396521b7cf
parente60e7d6b24755199968823e2555ab325ce3a769a (diff)
downloadports-40e201bdf06f2392114165a4183fc65ab6026b9d.tar.gz
ports-40e201bdf06f2392114165a4183fc65ab6026b9d.zip
sysutils/ntpstat: Fix build
Fixes: f1f3b1f4eb51
-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