summaryrefslogtreecommitdiff
path: root/sysutils/pacman/files/patch-meson.build
blob: b4b546714d076d06031a472699eb47036968e0b0 (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
--- meson.build.orig	2024-03-04 03:07:58 UTC
+++ meson.build
@@ -197,7 +197,7 @@ if conf.has('HAVE_GETMNTINFO')
   else
       conf.set('FSSTATSTYPE', 'struct statfs')
   endif
-elif conf.has('HAVE_STRUCT_STATVFS_F_FLAG')
+elif conf.has('HAVE_STRUCT_STATVFS_F_FLAG') and not host_machine.system().contains('freebsd')
   conf.set('FSSTATSTYPE', 'struct statvfs')
 elif conf.has('HAVE_STRUCT_STATFS_F_FLAGS')
   conf.set('FSSTATSTYPE', 'struct statfs')
@@ -416,25 +416,25 @@ configure_file(
 
 configure_file(
   input : 'etc/makepkg.conf.in',
-  output : 'makepkg.conf',
+  output : 'makepkg.conf.sample',
   configuration : substs,
   install_dir : SYSCONFDIR)
 
 configure_file(
   input : 'etc/makepkg.conf.d/fortran.conf.in',
-  output : 'fortran.conf',
+  output : 'fortran.conf.sample',
   configuration : substs,
   install_dir : join_paths(SYSCONFDIR, 'makepkg.conf.d/'))
 
 configure_file(
   input : 'etc/makepkg.conf.d/rust.conf.in',
-  output : 'rust.conf',
+  output : 'rust.conf.sample',
   configuration : substs,
   install_dir : join_paths(SYSCONFDIR, 'makepkg.conf.d/'))
 
 configure_file(
   input : 'etc/pacman.conf.in',
-  output : 'pacman.conf',
+  output : 'pacman.conf.sample',
   configuration : substs,
   install_dir : SYSCONFDIR)