Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 22:00:01 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0f3ae6771057 - main - misc/py-xgboost: Fix build with Python 3.8 and 3.9
Message-ID:  <202104202200.13KM015H026709@gitrepo.freebsd.org>

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

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

commit 0f3ae6771057e24b9ee52344ee9263ea76198a1f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-20 21:58:59 +0000
Commit:     Yuri Victorovich <yuri@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



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