diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-24 19:11:15 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-24 20:48:36 +0000 |
commit | b079376d080b1469cc02c39059072b1dbba96836 (patch) | |
tree | dda4d1b4213b07c79d21212f1758667bb3bdbb07 | |
parent | 823b31687b9d14ec0b47687b4b4a58b5726e164f (diff) | |
download | ports-b079376d080b1469cc02c39059072b1dbba96836.tar.gz ports-b079376d080b1469cc02c39059072b1dbba96836.zip |
www/libwww: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | www/libwww/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile index 4d78d5746a2e..db8aaf7acc1f 100644 --- a/www/libwww/Makefile +++ b/www/libwww/Makefile @@ -23,6 +23,12 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --with-zlib --with-ssl=${OPENSSLBASE} CPE_VENDOR= w3c +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so |