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 @@ -1,17 +1,23 @@ PORTNAME= posix-spawn PORTVERSION= 0.3.15 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby wrapper for posix_spawnp(2) for faster process spawning WWW= https://github.com/rtomayko/posix-spawn LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING 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