git: d0387e8b0209 - main - databases/py-duckdb: Fix build by correcting the path of the binary

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 09:01:37 UTC
The branch main has been updated by yuri:

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

commit d0387e8b02095924b1e717c92349ded9471764c8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-14 09:00:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-14 09:00:37 +0000

    databases/py-duckdb: Fix build by correcting the path of the binary
    
    ... in the strip command.
    
    Reported by:    fallout
---
 databases/py-duckdb/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/py-duckdb/Makefile b/databases/py-duckdb/Makefile
index a770f50563fc..9ee3713c4885 100644
--- a/databases/py-duckdb/Makefile
+++ b/databases/py-duckdb/Makefile
@@ -25,6 +25,6 @@ TEST_WRKSRC=	${WRKDIR} # tests fail when run from the build directory due to a n
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} # 2 tests fail, see https://github.com/duckdb/duckdb/issues/5642
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duckdb.cpython-${PYTHON_SUFFIX}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duckdb/duckdb${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>