Skip to content

Commit

Permalink
libfs: 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 db02fd8 commit 45a8173
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Formula/lib/libfs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,18 @@ class Libfs < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "c17d8ae2548594b5aae02734f0c2804858754e00f2e1b2dcc38d5bc86086aa5e"
end

depends_on "pkg-config" => :build
depends_on "pkgconf" => :build
depends_on "xtrans" => :build
depends_on "xorgproto"

def install
args = %W[
--prefix=#{prefix}
--sysconfdir=#{etc}
--localstatedir=#{var}
--disable-dependency-tracking
--disable-silent-rules
]

system "./configure", *args
system "./configure", *args, *std_configure_args
system "make"
system "make", "install"
end
Expand Down

0 comments on commit 45a8173

Please sign in to comment.