1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

mail/qpopper: unbreak build for llvm16

This unbreaks build, so PORTREVISION not changed.
This commit is contained in:
Eugene Grosbein 2023-06-26 19:31:17 +07:00
parent 9650dcc813
commit 5b4d8f4116
No known key found for this signature in database
GPG Key ID: C8960FF146564C9A

View File

@ -125,8 +125,12 @@ CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
# openssl-1.1.1 no longer has SSLv2 support
.if ${OPSYS} == FreeBSD
CFLAGS+= -DOPENSSL_NO_SSL2
CONFIGURE_ARGS+= CFLAGS="${CFLAGS}"
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
CFLAGS+= -Wno-incompatible-function-pointer-types
.endif
.endif
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
post-patch:
.if ${COMPILER_TYPE} == clang