diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile index 4b845c503fe3..96adf88ce722 100644 --- a/devel/py-fam/Makefile +++ b/devel/py-fam/Makefile @@ -1,31 +1,35 @@ PORTNAME= fam PORTVERSION= 1.1.1 PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-fam-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Python Interface to the File Alteration Monitor WWW= http://python-fam.sourceforge.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING USES= python:3.6+ fam USE_PYTHON= distutils autoplist -.include +.include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-patch: ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_fam*.so -.include +.include