diff --git a/archivers/rubygem-bzip2-ruby/Makefile b/archivers/rubygem-bzip2-ruby/Makefile index c3aa628f6391..60bd57a14ca0 100644 --- a/archivers/rubygem-bzip2-ruby/Makefile +++ b/archivers/rubygem-bzip2-ruby/Makefile @@ -1,16 +1,22 @@ PORTNAME= bzip2-ruby PORTVERSION= 0.2.7 PORTREVISION= 2 CATEGORIES= archivers rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby C bindings to libbzip2 WWW= https://github.com/brianmario/bzip2-ruby LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual USES= gem +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include