Skip to content

Commit cc4d1e6

Browse files
committed
mdk 1.3.1
1 parent be1324c commit cc4d1e6

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

Formula/m/mdk.rb

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
class Mdk < Formula
22
desc "GNU MIX development kit"
33
homepage "https://www.gnu.org/software/mdk/mdk.html"
4-
url "https://ftpmirror.gnu.org/gnu/mdk/v1.3.0/mdk-1.3.0.tar.gz"
5-
mirror "https://ftp.gnu.org/gnu/mdk/v1.3.0/mdk-1.3.0.tar.gz"
6-
sha256 "8b1e5dd7f47b738cb966ef717be92a501494d9ba6d87038f09e8fa29101b132e"
4+
url "https://ftpmirror.gnu.org/gnu/mdk/v1.3.1/mdk-1.3.1.tar.gz"
5+
mirror "https://ftp.gnu.org/gnu/mdk/v1.3.1/mdk-1.3.1.tar.gz"
6+
sha256 "ebb963938c688c150ff6aaedc29f30d09020a1e31d55b30c2101f08773516d19"
77
license "GPL-3.0-or-later"
8-
revision 1
98

109
livecheck do
1110
url :stable
1211
regex(%r{href=["']?v?(\d+(?:\.\d+)+)/?["' >]}i)
1312
end
1413

15-
no_autobump! because: :requires_manual_review
16-
1714
bottle do
1815
sha256 arm64_tahoe: "1c925079e22bb29ea6e505fa7705eb3ca6c1d6586184109a4fd54b7057f2f030"
1916
sha256 arm64_sequoia: "7f8f1976f4085fd2069b0e8e36c7b4dc939a9da53776d446c5bd00587c166ba7"
@@ -40,6 +37,8 @@ class Mdk < Formula
4037
depends_on "readline"
4138

4239
on_macos do
40+
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1599
41+
4342
depends_on "at-spi2-core"
4443
depends_on "bdw-gc"
4544
depends_on "cairo"
@@ -48,8 +47,20 @@ class Mdk < Formula
4847
depends_on "harfbuzz"
4948
end
5049

50+
fails_with :clang do
51+
build 1599
52+
cause "Requires relaxed variadic args"
53+
end
54+
55+
fails_with :gcc do
56+
version "11"
57+
cause "Requires relaxed variadic args"
58+
end
59+
5160
def install
61+
ENV.llvm_clang if DevelopmentTools.clang_build_version <= 1599
5262
system "./configure", "--disable-silent-rules", *std_configure_args
63+
system "make", "CFLAGS=-std=c23"
5364
system "make", "install"
5465
end
5566

0 commit comments

Comments
 (0)