Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 22:33:49 +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: r567791 - head/www/py-adblock
Message-ID:  <202103072233.127MXnfA064386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103072233.127MXnfA064386>