diff --git a/net/py-pyfixbuf/Makefile b/net/py-pyfixbuf/Makefile index 50cd2ea98a22..605517425ac9 100644 --- a/net/py-pyfixbuf/Makefile +++ b/net/py-pyfixbuf/Makefile @@ -1,22 +1,28 @@ PORTNAME= pyfixbuf PORTVERSION= 0.9.0 CATEGORIES= net python MASTER_SITES= https://tools.netsa.cert.org/releases/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python API for libfixbuf WWW= https://tools.netsa.cert.org/pyfixbuf/ LICENSE= GPLR LGPL21 LICENSE_COMB= multi LICENSE_NAME_GPLR= Government Purpose License Rights LICENSE_FILE_GPLR= ${WRKSRC}/LICENSE-OPENSOURCE.txt LICENSE_PERMS_GPLR= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libfixbuf.so:net/libfixbuf -USES= pkgconfig python:3.6+ +USES= compiler pkgconfig python USE_PYTHON= distutils autoplist -.include +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + +.include