svn commit: r567791 - head/www/py-adblock
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 7 22:33:55 UTC 2021
Author: sunpoet
Date: Sun Mar 7 22:33:49 2021
New Revision: 567791
URL: https://svnweb.freebsd.org/changeset/ports/567791
Log:
Fix hardcoded python version
Approved by: portmgr (blanket)
Modified:
head/www/py-adblock/Makefile
Modified: head/www/py-adblock/Makefile
==============================================================================
--- head/www/py-adblock/Makefile Sun Mar 7 22:33:43 2021 (r567790)
+++ head/www/py-adblock/Makefile Sun Mar 7 22:33:49 2021 (r567791)
@@ -167,7 +167,7 @@ post-install:
(cd ${STAGEDIR}${PREFIX} && \
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d ${PREFIX} \
-f ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;})
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python3.7/site-packages/adblock/adblock.cpython-37m.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/adblock/adblock*.so
# Regenerate .PLIST.pymodtemp to get all installed files from
# ${STAGEDIR} because the file that is generated in the first place
# contains only the EGG files as a whole.
More information about the svn-ports-head
mailing list