Skip to content

Commit 1f6b512

Browse files
committed
xinput: migrate to pkgconf
1 parent 0e3f06e commit 1f6b512

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Formula/x/xinput.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Xinput < Formula
1818
sha256 cellar: :any_skip_relocation, x86_64_linux: "48811518afc1be944c7f11606493feeffa4acd7653ad98f80e2dd583e6144bf0"
1919
end
2020

21-
depends_on "pkg-config" => :build
21+
depends_on "pkgconf" => :build
2222
depends_on "xorgproto" => :build
2323
depends_on "libx11"
2424
depends_on "libxext"
@@ -28,14 +28,12 @@ class Xinput < Formula
2828

2929
def install
3030
args = %W[
31-
--prefix=#{prefix}
3231
--sysconfdir=#{etc}
3332
--localstatedir=#{var}
34-
--disable-dependency-tracking
3533
--disable-silent-rules
3634
]
3735

38-
system "./configure", *args
36+
system "./configure", *args, *std_configure_args
3937
system "make"
4038
system "make", "install"
4139
end

0 commit comments

Comments
 (0)