Skip to content

Commit 25b4f56

Browse files
committed
smlpkg: build with mlton
1 parent 758ce9e commit 25b4f56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Formula/s/smlpkg.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ class Smlpkg < Formula
1818
sha256 cellar: :any_skip_relocation, x86_64_linux: "c34eb8d99928a9143212f3273c3a51ec4d2eab32f11f70f626aec59855f1a6a9"
1919
end
2020

21-
depends_on "mlkit" => :build
22-
depends_on arch: :x86_64 # https://github.com/melsman/mlkit/issues/115
21+
depends_on "mlton" => :build
22+
depends_on "gmp"
2323

2424
def install
25+
ENV["MLCOMP"] = "mlton"
2526
system "make", "-C", "src", "smlpkg"
2627
system "make", "install", "prefix=#{prefix}"
2728
end

0 commit comments

Comments
 (0)