diff --git a/devel/rubygem-posix-spawn/Makefile b/devel/rubygem-posix-spawn/Makefile index 77e7b5b7a7d1..c271dfe200b8 100644 --- a/devel/rubygem-posix-spawn/Makefile +++ b/devel/rubygem-posix-spawn/Makefile @@ -14,4 +14,10 @@ USES= gem PLIST_FILES= bin/posix-spawn-benchmark +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include