diff --git a/devel/rubygem-curses/Makefile b/devel/rubygem-curses/Makefile index d07e067d3075..c8e8a1fb2716 100644 --- a/devel/rubygem-curses/Makefile +++ b/devel/rubygem-curses/Makefile @@ -1,15 +1,21 @@ PORTNAME= curses PORTVERSION= 1.3.2 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= freebsd@jonathanprice.org COMMENT= Ruby binding for curses, ncurses and PDCurses WWW= https://rubygems.org/gems/curses LICENSE= RUBY BSD2CLAUSE LICENSE_COMB= dual USES= gem ncurses +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include