x11-toolkits/rubygem-gtk2: Clean up Makefile

- Remove outdated OSVERSION check
This commit is contained in:
Po-Chuan Hsieh 2024-06-18 12:03:55 +08:00
parent 8f6a171201
commit 1cd94bcac3
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -19,10 +19,6 @@ RUN_DEPENDS= rubygem-atk>=${PORTVERSION}:accessibility/rubygem-atk \
USES= gem gnome USES= gem gnome
USE_GNOME= gtk20 USE_GNOME= gtk20
.include <bsd.port.options.mk> CONFIGURE_ARGS= --with-cflags=-Wno-incompatible-function-pointer-types
.if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000) || ${OSVERSION} >= 1400091)
CONFIGURE_ARGS+=--with-cflags="-Wno-error=incompatible-function-pointer-types"
.endif
.include <bsd.port.mk> .include <bsd.port.mk>