Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2023 19:59:23 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 33cc8a50e82f - main - security/monkeysphere: Unbreak on HEAD
Message-ID:  <202305141959.34EJxNlg016310@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=33cc8a50e82fe6d58b5673516d1882b83308d929

commit 33cc8a50e82fe6d58b5673516d1882b83308d929
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 19:05:53 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 19:59:09 +0000

    security/monkeysphere: Unbreak on HEAD
---
 security/monkeysphere/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/security/monkeysphere/Makefile b/security/monkeysphere/Makefile
index 5b5847c8dfc9..17e4c372f059 100644
--- a/security/monkeysphere/Makefile
+++ b/security/monkeysphere/Makefile
@@ -34,6 +34,12 @@ MAKE_ARGS+=	ETCPREFIX=${PREFIX} MANPREFIX=${PREFIX}/man ETCSUFFIX=.sample
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=strict-prototypes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -i '' 's|/etc/monkeysphere|${PREFIX}/etc/monkeysphere|g' \
 	  ${WRKSRC}/etc/*.conf ${WRKSRC}/examples/* \
@@ -60,4 +66,4 @@ post-patch:
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/agent-transfer
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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