diff --git a/devel/rubygem-cool.io/Makefile b/devel/rubygem-cool.io/Makefile index fbafd0c02372..d846ea2c9758 100644 --- a/devel/rubygem-cool.io/Makefile +++ b/devel/rubygem-cool.io/Makefile @@ -1,17 +1,23 @@ PORTNAME= cool.io PORTVERSION= 1.7.1 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Gems for cool.io WWW= https://github.com/tarcieri/cool.io LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-iobuffer>=1.0.0:devel/rubygem-iobuffer USES= gem +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include