From 3d994f40db9f788aca9684317341008874eba4bf Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Wed, 20 Nov 2024 00:39:05 -0500 Subject: [PATCH] xnvme: migrate to `pkgconf` --- Formula/x/xnvme.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Formula/x/xnvme.rb b/Formula/x/xnvme.rb index e2d94408f07d8..78cef3a37ac9c 100644 --- a/Formula/x/xnvme.rb +++ b/Formula/x/xnvme.rb @@ -21,17 +21,18 @@ class Xnvme < Formula depends_on "meson" => :build depends_on "ninja" => :build - depends_on "pkg-config" => [:build, :test] + depends_on "pkgconf" => [:build, :test] def install # We do not have SPDK nor libvfn on macOS, thus disabling these # The examples and tests are also a bit superfluous, so disable those as well - system "meson", "setup", "build", - *std_meson_args, - "-Dwith-spdk=disabled", - "-Dwith-libvfn=disabled", - "-Dtests=false", - "-Dexamples=false" + args = %w[ + -Dwith-spdk=disabled + -Dwith-libvfn=disabled + -Dtests=false + -Dexamples=false + ] + system "meson", "setup", "build", *args, *std_meson_args system "meson", "compile", "-C", "build" system "meson", "install", "-C", "build" end