Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 08:21:11 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c7a1c27ac582 - main - devel/py-crc32c: Fix build with python-3.11
Message-ID:  <202401210821.40L8LBqT047137@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

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

commit c7a1c27ac58259ba50ed6514b7c1ae544143098d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-21 08:20:02 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-21 08:20:02 +0000

    devel/py-crc32c: Fix build with python-3.11
    
    PR:             275494
    Approved by:    portmgr(blanket, fix build)
---
 devel/py-crc32c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-crc32c/Makefile b/devel/py-crc32c/Makefile
index 9e8867fc2f04..de2a7a08b277 100644
--- a/devel/py-crc32c/Makefile
+++ b/devel/py-crc32c/Makefile
@@ -18,6 +18,6 @@ USES=		python
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crc32c.cpython-39.so
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/crc32c.cpython-${PYTHON_SUFFIX}.so
 
 .include <bsd.port.mk>



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