git: 33cc8a50e82f - main - security/monkeysphere: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 May 2023 19:59:23 UTC
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>