Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2023 14:24:58 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: 764d261d105e - main - textproc/jshon: Unbreak on HEAD
Message-ID:  <202305131424.34DEOwcL001092@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=764d261d105e33cda5b486e7ad8d7ce957430320

commit 764d261d105e33cda5b486e7ad8d7ce957430320
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-13 14:14:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-13 14:24:17 +0000

    textproc/jshon: Unbreak on HEAD
    
    Approved by:    portmgr (blanket)
---
 textproc/jshon/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/textproc/jshon/Makefile b/textproc/jshon/Makefile
index a924222772cc..ce3d55ee3778 100644
--- a/textproc/jshon/Makefile
+++ b/textproc/jshon/Makefile
@@ -24,6 +24,12 @@ OPTIONS_DEFAULT=	ZSH
 
 ZSH_PLIST_FILES=	share/zsh/site-functions/jshon_zsh_completion
 
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=strict-prototypes
+.endif
+
 pre-configure:
 	@${REINPLACE_CMD} -e 's|^\(#define JSHONVER \).*|\1"${PORTVERSION}-${GH_TAGNAME}"|' \
 	-e 's|\({printf("%\)i\(\\n", JSHONVER); exit(0);}\)|\1s\2|' \
@@ -37,4 +43,4 @@ post-install-ZSH-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
 	${INSTALL_DATA} ${WRKSRC}/jshon_zsh_completion ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
 
-.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?202305131424.34DEOwcL001092>