git: 0f3ae6771057 - main - misc/py-xgboost: Fix build with Python 3.8 and 3.9

Yuri Victorovich yuri at FreeBSD.org
Tue Apr 20 22:00:01 UTC 2021


The branch main has been updated by yuri:

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

commit 0f3ae6771057e24b9ee52344ee9263ea76198a1f
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-20 21:58:59 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-20 21:59:59 +0000

    misc/py-xgboost: Fix build with Python 3.8 and 3.9
    
    Submitted by:   kai
---
 misc/py-xgboost/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile
index 62f451469690..fcb779b1ee8b 100644
--- a/misc/py-xgboost/Makefile
+++ b/misc/py-xgboost/Makefile
@@ -33,7 +33,7 @@ NO_ARCH=	yes
 POST_PLIST=	fix-plist
 
 fix-plist: # https://github.com/dmlc/xgboost/issues/5705
-	@${REINPLACE_CMD} 's|.*libxgboost.so$$||' ${TMPPLIST}
+	@${REINPLACE_CMD} 's|.*libxgboost${PYTHON_EXT_SUFFIX}.so$$||' ${TMPPLIST}
 
 do-test: # tests fail w/out CUDA: https://github.com/dmlc/xgboost/issues/6881
 	@cd ${WRKSRC}/.. && ${PYTHON_CMD} -m pytest


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