diff --git a/devel/py-cbor/Makefile b/devel/py-cbor/Makefile index bf4bb0655669..42851f3c598d 100644 --- a/devel/py-cbor/Makefile +++ b/devel/py-cbor/Makefile @@ -1,26 +1,19 @@ PORTNAME= cbor PORTVERSION= 1.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= RFC 7049 - Concise Binary Object Representation WWW= https://bitbucket.org/bodhisnarkva/cbor LICENSE= APACHE20 USES= compiler python:3.6+ USE_PYTHON= autoplist concurrent distutils -.include - -.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42 -post-patch: - @${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/c/cbormodule.c -.endif - post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -.include +.include