diff --git a/devel/py-donut-shellcode/Makefile b/devel/py-donut-shellcode/Makefile index b6e8be968ec2..d17f837bc721 100644 --- a/devel/py-donut-shellcode/Makefile +++ b/devel/py-donut-shellcode/Makefile @@ -1,19 +1,25 @@ PORTNAME= donut-shellcode DISTVERSION= 1.0.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= acm@FreeBSD.org COMMENT= donut shellcode Python C extension WWW= https://github.com/TheWover/donut LICENSE= BSD3CLAUSE USES= dos2unix python USE_PYTHON= distutils autoplist DOS2UNIX_GLOB= *.py +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include