diff --git a/net/rubygem-ovirt-engine-sdk/Makefile b/net/rubygem-ovirt-engine-sdk/Makefile index f28dce47ede7..db86b8855b90 100644 --- a/net/rubygem-ovirt-engine-sdk/Makefile +++ b/net/rubygem-ovirt-engine-sdk/Makefile @@ -1,20 +1,26 @@ PORTNAME= ovirt-engine-sdk PORTVERSION= 4.4.1 PORTREVISION= 2 CATEGORIES= net rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Ruby SDK for the oVirt Engine API WWW= https://ovirt.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libcurl.so:ftp/curl RUN_DEPENDS= rubygem-json>=1<3:devel/rubygem-json USES= gem gnome USE_GNOME= libxml2 +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include