summaryrefslogtreecommitdiff
path: root/filesystems/libblkid/files/patch-meson.build
blob: ba004eb9d977c172a9116a4317fec28cc85b80f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
--- meson.build.orig	2025-03-18 12:50:51 UTC
+++ meson.build
@@ -861,7 +861,7 @@ conf.set('HAVE_DECL_VMADDR_CID_LOCAL', have ? 1 : fals
                             prefix : '#include <sys/socket.h>')
 conf.set('HAVE_DECL_VMADDR_CID_LOCAL', have ? 1 : false)
 
-build_plymouth_support = (not build_plymouth_support.disabled() and 
+build_plymouth_support = (not build_plymouth_support.disabled() and
                           have_tiocglcktrmios and
                           have_sock_cloexec and
                           have_sock_nonblock and
@@ -1870,14 +1870,7 @@ endif
   bashcompletions += ['zramctl']
 endif
 
-exe = executable(
-  'prlimit',
-  prlimit_sources,
-  include_directories : includes,
-  link_with : [lib_common,
-               lib_smartcols],
-  install_dir : usrbin_exec_dir,
-  install : true)
+exe = disabler()
 if not is_disabler(exe)
   exes += exe
   manadocs += prlimit_manadocs
@@ -1993,15 +1986,7 @@ endif
   bashcompletions += ['swapoff']
 endif
 
-exe = executable(
-  'lscpu',
-  lscpu_sources,
-  include_directories : includes,
-  link_with : [lib_common,
-               lib_smartcols],
-  dependencies : [rtas_libs],
-  install_dir : usrbin_exec_dir,
-  install : true)
+exe = disabler()
 if not is_disabler(exe)
   exes += exe
   manadocs += lscpu_manadocs
@@ -2023,13 +2008,7 @@ endif
   bashcompletions += ['chcpu']
 endif
 
-exe = executable(
-  'wdctl',
-  wdctl_sources,
-  include_directories : includes,
-  link_with : [lib_common,
-               lib_smartcols],
-  install : true)
+exe = disabler()
 if not is_disabler(exe)
   exes += exe
   manadocs += wdctl_manadocs
@@ -4026,7 +4005,6 @@ run_target(
   depends : exes)
 
 
-manadocs += lib_tcolors_manadocs
 if build_libblkid
   manadocs += lib_blkid_manadocs + lib_smartcols_manadocs
 endif