git: 1af7bdda5d0f - 2022Q3 - 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:25 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1af7bdda5d0f5db6d8b0ede49372610f32140216
commit 1af7bdda5d0f5db6d8b0ede49372610f32140216
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:45:22 +0000
sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
Approved by: portmgr (bugfix)
(cherry picked from commit 02d01cf0eba9c8571afd005ac8640dba7a947089)
---
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 8722ee5280e3..d1c70b297986 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -2,7 +2,7 @@
PORTNAME= psutil
PORTVERSION= 5.9.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,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