Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/hexchat/files/patch-plugins_sysinfo_meson.build
16134 views
1
--- plugins/sysinfo/meson.build.orig 2019-12-22 13:48:33 UTC
2
+++ plugins/sysinfo/meson.build
3
@@ -13,13 +13,13 @@ sysinfo_includes = []
4
sysinfo_cargs = []
5
6
system = host_machine.system()
7
-if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'darwin'
8
+if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'darwin' or system == 'freebsd'
9
sysinfo_includes += 'shared'
10
sysinfo_sources += [
11
'shared/df.c'
12
]
13
14
- if system == 'linux' or system == 'gnu' or system.startswith('gnu/')
15
+ if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'freebsd'
16
libpci = dependency('libpci', required: false, method: 'pkg-config')
17
if libpci.found()
18
sysinfo_deps += libpci
19
20