git: d6c515db9534 - main - math/py-ecos: Fix build with Python 3.8+

Yuri Victorovich yuri at FreeBSD.org
Fri Apr 23 22:18:36 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d6c515db95343eadeb7a85dec41c9204f193a551

commit d6c515db95343eadeb7a85dec41c9204f193a551
Author:     Kai Knoblich <kai at FreeBSD.org>
AuthorDate: 2021-04-23 22:17:46 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-23 22:17:46 +0000

    math/py-ecos: Fix build with Python 3.8+
---
 math/py-ecos/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/math/py-ecos/Makefile b/math/py-ecos/Makefile
index 231b43ed8f41..798020418392 100644
--- a/math/py-ecos/Makefile
+++ b/math/py-ecos/Makefile
@@ -26,6 +26,6 @@ pre-configure:
 	@${ECHO} "__version__=\"$(DISTVERSION)\"" > ${WRKSRC}/src/ecos/version.py
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_ecos.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_ecos*.so
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list