devel/rubygem-posix-spawn: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-24 21:13:24 +02:00
parent b079376d08
commit 9151c92aec

View file

@ -14,4 +14,10 @@ USES= gem
PLIST_FILES= bin/posix-spawn-benchmark
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif
.include <bsd.port.mk>