diff --git a/x11-fonts/afdko/Makefile b/x11-fonts/afdko/Makefile index 4de09a633c31..f5b4d62fabc0 100644 --- a/x11-fonts/afdko/Makefile +++ b/x11-fonts/afdko/Makefile @@ -1,17 +1,23 @@ PORTNAME= afdko PORTVERSION= 3.9.5 CATEGORIES= x11-fonts MASTER_SITES= https://github.com/adobe-type-tools/afdko/releases/download/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Adobe Font Development Kit for OpenType (AFDKO) WWW= https://github.com/adobe-type-tools/afdko LICENSE= APACHE20 USES= cmake compiler:c++11-lang gnome USE_GNOME= libxml2 CMAKE_OFF= SKBUILD +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include