git: 339d529f7a79 - main - mail/qmail-rblchk: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 18:45:33 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=339d529f7a79e9af2756f7cb7aa36df4f3b0662f commit 339d529f7a79e9af2756f7cb7aa36df4f3b0662f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 18:36:10 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 18:45:16 +0000 mail/qmail-rblchk: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- mail/qmail-rblchk/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/mail/qmail-rblchk/Makefile b/mail/qmail-rblchk/Makefile index 2ccbef2ce7b3..f1c76b242b06 100644 --- a/mail/qmail-rblchk/Makefile +++ b/mail/qmail-rblchk/Makefile @@ -11,17 +11,23 @@ WWW= http://www.morettoni.net/qmail-rblchk.en.html USES= groff qmail:run -LDFLAGS?= -s +ALL_TARGET= default +INSTALL_TARGET= setup + CFLAGS?= -O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \ -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings +LDFLAGS?= -s WRKSRC= ${WRKDIR}/${PORTNAME} -ALL_TARGET= default -INSTALL_TARGET= setup - OPTIONS_DEFINE= EXAMPLES +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e '/"cat/d; s|,02755|,0755|' ${WRKSRC}/hier.c