aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-08 18:43:24 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-08 18:45:22 +0000
commit1af7bdda5d0f5db6d8b0ede49372610f32140216 (patch)
tree6125401e99ef3c8785673e8d0efdf7e68f937849
parent6d574490467fc02cb06bbf3a1991641986a07c73 (diff)
sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
Approved by: portmgr (bugfix) (cherry picked from commit 02d01cf0eba9c8571afd005ac8640dba7a947089)
-rw-r--r--sysutils/py-psutil/Makefile4
1 files changed, 3 insertions, 1 deletions
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