diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile index 5b300b8ad145..6cdbc69b2952 100644 --- a/x11-toolkits/rubygem-gtk2/Makefile +++ b/x11-toolkits/rubygem-gtk2/Makefile @@ -19,10 +19,6 @@ RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \ USES= gem gnome USE_GNOME= gtk20 -.include - -.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000) || ${OSVERSION} >= 1400091) -CONFIGURE_ARGS+=--with-cflags="-Wno-error=incompatible-function-pointer-types" -.endif +CONFIGURE_ARGS= --with-cflags=-Wno-incompatible-function-pointer-types .include