Date: Tue, 30 Mar 2021 19:16:51 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r569586 - head/x11-fonts/py-opentype-sanitizer Message-ID: <202103301916.12UJGpQV004159@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Mar 30 19:16:51 2021 New Revision: 569586 URL: https://svnweb.freebsd.org/changeset/ports/569586 Log: Fix build with Python 3.8+ PR: 254503 Submitted by: kai Modified: head/x11-fonts/py-opentype-sanitizer/Makefile Modified: head/x11-fonts/py-opentype-sanitizer/Makefile ============================================================================== --- head/x11-fonts/py-opentype-sanitizer/Makefile Tue Mar 30 19:16:46 2021 (r569585) +++ head/x11-fonts/py-opentype-sanitizer/Makefile Tue Mar 30 19:16:51 2021 (r569586) @@ -21,6 +21,12 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/p USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 3800 +LDFLAGS+= -lpython${PYTHON_VER} +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/python/ots/__init__.py @${RM} -r ${WRKSRC}/src/c/ @@ -31,4 +37,4 @@ post-install: do-test: cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest -v -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103301916.12UJGpQV004159>