git: d41765bfc7bb - main - x11-fonts/py-opentype-sanitizer: Use PYTHON_ABIVER to simplify Makefile
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Apr 18 07:13:58 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d41765bfc7bb748f2af6ed181321ce169c44cb6b
commit d41765bfc7bb748f2af6ed181321ce169c44cb6b
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-04-18 05:08:03 +0000
Commit: Po-Chuan Hsieh <sunpoet at 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>
More information about the dev-commits-ports-all
mailing list