git: 5d16ebdedcaf - main - devel/frink: Unbreak on HEAD

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 14 May 2023 17:39:57 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5d16ebdedcaf4d22eb736b655246c72fa3edb6ff

commit 5d16ebdedcaf4d22eb736b655246c72fa3edb6ff
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-14 17:38:47 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-14 17:39:23 +0000

    devel/frink: Unbreak on HEAD
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
---
 devel/frink/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/devel/frink/Makefile b/devel/frink/Makefile
index fe4376921b8f..95ee0c671da7 100644
--- a/devel/frink/Makefile
+++ b/devel/frink/Makefile
@@ -14,15 +14,22 @@ LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 LICENSE_PERMS=	auto-accept
 
 USES=		uidfix
+
 MAKEFILE=	${FILESDIR}/Makefile.bsd
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-2.2.2
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=strict-prototypes
+.endif
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README \
 		${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>