diff --git a/sysutils/ntpstat/Makefile b/sysutils/ntpstat/Makefile index 73ef98aede5b..2e7ec43dbfdd 100644 --- a/sysutils/ntpstat/Makefile +++ b/sysutils/ntpstat/Makefile @@ -1,30 +1,30 @@ PORTNAME= ntpstat DISTVERSION= 0.6 PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= cy@FreeBSD.org COMMENT= Print the ntpd or chronyd synchronisation status WWW= https://github.com/mlichvar/ntpstat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= bash:shells/bash \ gawk:lang/gawk USES= shebangfix 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 post-patch: @${REINPLACE_CMD} -e 's/awk/gawk/g' ${WRKSRC}/ntpstat .include 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