1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/lang/cython/Makefile
Piotr Kubaj 7a538814e6 lang/cython: fix build on GCC architectures
Use newer GCC:
cc1: error: unrecognized command line option "-Wno-unused-result"
2020-10-29 16:57:21 +00:00

25 lines
587 B
Makefile

# Created by: Wen Heping <wenhping@gmail.com>
# $FreeBSD$
PORTNAME= cython
PORTVERSION= 0.29.21
CATEGORIES= lang python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Cython-${PORTVERSION}
MAINTAINER= vmagerya@gmail.com
COMMENT= Compiler for Writing C Extensions for the Python Language
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= compiler:c11 python
USE_PYTHON= allflavors autoplist concurrent distutils
post-install:
${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Cython \
-name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>