diff --git a/graphics/py-pygeos/Makefile b/graphics/py-pygeos/Makefile index 89e7a45facbd..a4a08c6ffe37 100644 --- a/graphics/py-pygeos/Makefile +++ b/graphics/py-pygeos/Makefile @@ -1,26 +1,32 @@ PORTNAME= pygeos PORTVERSION= 0.14 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= GEOS wrapped in numpy ufuncs WWW= https://github.com/pygeos/pygeos LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libgeos.so:graphics/geos RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.13,1:math/py-numpy@${PY_FLAVOR} USES= python:3.8+ USE_PYTHON= autoplist concurrent cython pep517 +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include