git: cf7b72e4adc6 - main - converters/rubygem-iconv: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 20:10:13 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cf7b72e4adc693bc86395ecb6f9c4674d0d01803 commit cf7b72e4adc693bc86395ecb6f9c4674d0d01803 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 19:45:29 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 19:45:29 +0000 converters/rubygem-iconv: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- converters/rubygem-iconv/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/converters/rubygem-iconv/Makefile b/converters/rubygem-iconv/Makefile index f00b45f9ea14..2c532ba76766 100644 --- a/converters/rubygem-iconv/Makefile +++ b/converters/rubygem-iconv/Makefile @@ -14,4 +14,10 @@ LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE.txt USES= gem iconv +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include <bsd.port.mk>