git: 5baf6a44f57b - main - devel/py-cbor: No longer cater to GCC 4.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Dec 2022 10:44:23 UTC
The branch main has been updated by gerald: URL: https://cgit.FreeBSD.org/ports/commit/?id=5baf6a44f57b6fb358fdbc07cdf4288a7aa95a4d commit 5baf6a44f57b6fb358fdbc07cdf4288a7aa95a4d Author: Gerald Pfeifer <gerald@FreeBSD.org> AuthorDate: 2022-12-04 10:43:48 +0000 Commit: Gerald Pfeifer <gerald@FreeBSD.org> CommitDate: 2022-12-04 10:43:48 +0000 devel/py-cbor: No longer cater to GCC 4.2 Remove code catering to GCC 4.2 (as system compiler) which is not necessary any longer since USES=compiler and USE_GCC never will pull that in anymore. This reverts much of commits 029e8b89818d7d3a576a5a172fefc93d42799ad6 and a00547aa72ab3b19fa4ac7e625957268b5bde020 from 3+ years ago. Approved by: sunpoet (maintainer) --- devel/py-cbor/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 @@ -13,14 +13,7 @@ LICENSE= APACHE20 USES= compiler python:3.6+ USE_PYTHON= autoplist concurrent distutils -.include <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +.include <bsd.port.mk>