Date: Sun, 18 Apr 2021 07:13:49 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d41765bfc7bb - main - x11-fonts/py-opentype-sanitizer: Use PYTHON_ABIVER to simplify Makefile Message-ID: <202104180713.13I7Dngs012850@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d41765bfc7bb748f2af6ed181321ce169c44cb6b commit d41765bfc7bb748f2af6ed181321ce169c44cb6b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-04-18 05:08:03 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-04-18 05:44:25 +0000 x11-fonts/py-opentype-sanitizer: Use PYTHON_ABIVER to simplify Makefile --- x11-fonts/py-opentype-sanitizer/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/x11-fonts/py-opentype-sanitizer/Makefile b/x11-fonts/py-opentype-sanitizer/Makefile index 9101949da7f4..ccefd33f20f3 100644 --- a/x11-fonts/py-opentype-sanitizer/Makefile +++ b/x11-fonts/py-opentype-sanitizer/Makefile @@ -20,11 +20,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} >= 3800 -LDFLAGS+= -lpython${PYTHON_VER} -.endif +LDFLAGS+= -lpython${PYTHON_VER}${PYTHON_ABIVER} post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/python/ots/__init__.py @@ -36,4 +32,4 @@ post-install: do-test: cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest -v -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180713.13I7Dngs012850>