diff --git a/textproc/rubygem-fast_xs/Makefile b/textproc/rubygem-fast_xs/Makefile index 80bbb316cac8..a782fdb65e87 100644 --- a/textproc/rubygem-fast_xs/Makefile +++ b/textproc/rubygem-fast_xs/Makefile @@ -1,16 +1,22 @@ PORTNAME= fast_xs PORTVERSION= 0.8.0 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Systems integration framework. Expander WWW= http://fast-xs.rubyforge.org/ LICENSE= MIT USES= gem +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include