Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2024 16:39:00 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 40e201bdf06f - main - sysutils/ntpstat: Fix build
Message-ID:  <202401111639.40BGd0IR028536@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40e201bdf06f2392114165a4183fc65ab6026b9d

commit 40e201bdf06f2392114165a4183fc65ab6026b9d
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-01-11 16:24:47 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-01-11 16:38:54 +0000

    sysutils/ntpstat: Fix build
    
    Fixes:          f1f3b1f4eb51
---
 sysutils/ntpstat/Makefile             | 2 +-
 sysutils/ntpstat/files/patch-Makefile | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401111639.40BGd0IR028536>