Skip to content

Commit

Permalink
libgda: migrate to pkgconf
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Nov 26, 2024
1 parent 1691013 commit db02fd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/lib/libgda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Libgda < Formula
depends_on "intltool" => :build
depends_on "meson" => :build
depends_on "ninja" => :build
depends_on "pkg-config" => [:build, :test]
depends_on "pkgconf" => [:build, :test]
depends_on "vala" => :build
depends_on "glib"
depends_on "iso-codes"
Expand Down Expand Up @@ -69,7 +69,7 @@ def install

test do
cp pkgshare/"example.c", testpath
flags = shell_output("pkg-config --cflags --libs libgda-#{version.major_minor}").chomp.split
flags = shell_output("pkgconf --cflags --libs libgda-#{version.major_minor}").chomp.split
system ENV.cc, "example.c", "-o", "example", *flags
assert_match <<~EOS, shell_output("./example")
------+---------+---------
Expand Down

0 comments on commit db02fd8

Please sign in to comment.