diff options
Diffstat (limited to 'devel/libvirt/files/patch-build-aux_meson.build')
-rw-r--r-- | devel/libvirt/files/patch-build-aux_meson.build | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/libvirt/files/patch-build-aux_meson.build b/devel/libvirt/files/patch-build-aux_meson.build new file mode 100644 index 000000000000..63e689340bbc --- /dev/null +++ b/devel/libvirt/files/patch-build-aux_meson.build @@ -0,0 +1,27 @@ +--- build-aux/meson.build.orig 2025-05-02 07:25:45 UTC ++++ build-aux/meson.build +@@ -13,23 +13,10 @@ if git and tests_enabled[0] + if host_machine.system() == 'freebsd' or host_machine.system() == 'darwin' + make_prog = find_program('gmake') + sed_prog = find_program('gsed') ++ grep_prog = find_program('ggrep') + else + make_prog = find_program('make') + sed_prog = find_program('sed') +- endif +- +- if host_machine.system() == 'freebsd' +- grep_prog = find_program('grep') +- grep_cmd = run_command(grep_prog, '--version', check: true) +- if grep_cmd.stdout().startswith('grep (BSD grep') +- grep_prog = find_program('/usr/local/bin/grep', required: false) +- if not grep_prog.found() +- error('GNU grep not found') +- endif +- endif +- elif host_machine.system() == 'darwin' +- grep_prog = find_program('ggrep') +- else + grep_prog = find_program('grep') + endif + |