1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

mail/libsrs_alt: Fix build with llvm16

- Utilize OPTIONSNG where applicable
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 13:51:31 +02:00
parent 8861a8abb3
commit a254074c95

View File

@ -10,18 +10,23 @@ WWW= https://opsec.eu/src/srs/
USES= libtool tar:bzip2
USE_LDCONFIG= yes
SHLIB_MAJOR= 1
GNU_CONFIGURE= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
OPTIONS_DEFINE= COMPAT_BASE64
COMPAT_BASE64_DESC= MTA Friendly base64 compatibility mode
COMPAT_BASE64_CONFIGURE_ON= --with-base64compat
SHLIB_MAJOR= 1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCOMPAT_BASE64}
CONFIGURE_ARGS+= --with-base64compat
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch: