--- 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)