29 lines
974 B
Text
29 lines
974 B
Text
Index: setup.py
|
|
--- setup.py.orig
|
|
+++ setup.py
|
|
@@ -53,6 +53,7 @@ from _common import MACOS # NOQA
|
|
from _common import NETBSD # NOQA
|
|
from _common import OPENBSD # NOQA
|
|
from _common import POSIX # NOQA
|
|
+from _common import SECBSD # NOQA
|
|
from _common import SUNOS # NOQA
|
|
from _common import WINDOWS # NOQA
|
|
from _common import hilite # NOQA
|
|
@@ -289,7 +290,7 @@ elif FREEBSD:
|
|
# fmt: on
|
|
)
|
|
|
|
-elif OPENBSD:
|
|
+elif OPENBSD or SECBSD:
|
|
macros.append(("PSUTIL_OPENBSD", 1))
|
|
ext = Extension(
|
|
'psutil._psutil_bsd',
|
|
@@ -552,7 +553,7 @@ def main():
|
|
missdeps("pkg install gcc python%s" % py3)
|
|
elif which('mport'): # MidnightBSD
|
|
missdeps("mport install gcc python%s" % py3)
|
|
- elif OPENBSD:
|
|
+ elif OPENBSD or SECBSD:
|
|
missdeps("pkg_add -v gcc python%s" % py3)
|
|
elif NETBSD:
|
|
missdeps("pkgin install gcc python%s" % py3)
|