summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-03-04 17:18:33 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-03-04 17:18:33 +0000
commit0b6e5eb44e8607f74dc2b29b7eb304cf34a19d51 (patch)
tree8f9b54ca869c30327f11d7ae161f9606316875e5
parentUpdate to 0.2 (diff)
Prepare for Python 3.8.
Submitted by: kai@
Notes
Notes: svn path=/head/; revision=567326
-rw-r--r--math/e-antic/Makefile4
-rw-r--r--textproc/py-hunspell/Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/math/e-antic/Makefile b/math/e-antic/Makefile
index 93ab12a3c9ff..1f1b9bd31ed6 100644
--- a/math/e-antic/Makefile
+++ b/math/e-antic/Makefile
@@ -57,8 +57,8 @@ post-extract:
post-install:
${REINPLACE_CMD} -e 's|${STAGEDIR}||' \
- ${STAGEDIR}${PREFIX}/lib/python3.7/site-packages/pyeantic/install_files.txt
- ${RM} ${STAGEDIR}${PREFIX}/lib/python3.7/site-packages/pyeantic/install_files.txt.bak
+ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyeantic/install_files.txt
+ ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyeantic/install_files.txt.bak
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d \
${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d \
diff --git a/textproc/py-hunspell/Makefile b/textproc/py-hunspell/Makefile
index cf973af80647..9bf33503c0ab 100644
--- a/textproc/py-hunspell/Makefile
+++ b/textproc/py-hunspell/Makefile
@@ -20,7 +20,7 @@ USES+= localbase
USE_PYTHON= distutils
HSPLVER= 1.7
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/hunspell.so
+PLIST_FILES= ${PYTHON_SITELIBDIR}/hunspell${PYTHON_EXT_SUFFIX}.so
pre-configure:
${REINPLACE_CMD} -e "s|/usr/include|${LOCALBASE}/include|" \