git: 02d01cf0eba9 - main - sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Aug 2022 18:45:03 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=02d01cf0eba9c8571afd005ac8640dba7a947089
commit 02d01cf0eba9c8571afd005ac8640dba7a947089
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 18:43:24 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 18:43:24 +0000
sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
Approved by: portmgr (bugfix)
---
sysutils/py-psutil/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index 242237afddff..b4b7ae0dcda9 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -1,6 +1,6 @@
PORTNAME= psutil
PORTVERSION= 5.9.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe python:3.6+
USE_PYTHON= autoplist concurrent distutils
+LDFLAGS+= -lutil # fix of: site-packages/psutil/_psutil_bsd.cpython-39.so: Undefined symbol "kinfo_getfile"
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
CPE_VENDOR= psutil_project