Skip to content

Commit

Permalink
mail/qmail-rblchk: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 23, 2023
1 parent 44de32f commit 339d529
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions mail/qmail-rblchk/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 339d529

Please sign in to comment.