diff --git a/textproc/rubygem-ruby-xslt/Makefile b/textproc/rubygem-ruby-xslt/Makefile index 8a91c01741be..e8519cd375f4 100644 --- a/textproc/rubygem-ruby-xslt/Makefile +++ b/textproc/rubygem-ruby-xslt/Makefile @@ -14,4 +14,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_GNOME= libxslt USES= gem gnome +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include