Skip to content

Commit

Permalink
lfe: depend on erlang@26
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
  • Loading branch information
paulo-ferraz-oliveira and carlocab committed Sep 21, 2024
1 parent 07635db commit 744c469
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/l/lfe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Lfe < Formula
url "https://github.com/lfe/lfe/archive/refs/tags/v2.1.5.tar.gz"
sha256 "41ea68afc8bbab55c63928505ce41d91bf30751d7fc511de6d8307efdede4a4f"
license "Apache-2.0"
revision 1
head "https://github.com/lfe/lfe.git", branch: "develop"

bottle do
Expand All @@ -16,7 +17,7 @@ class Lfe < Formula
end

depends_on "emacs" => :build
depends_on "erlang"
depends_on "erlang@26"

def install
system "make"
Expand All @@ -28,6 +29,9 @@ def install
pkgshare.install "dev", "examples", "test"
doc.install Pathname.glob("doc/*.txt")
elisp.install Pathname.glob("emacs/*.elc")

# TODO: Remove me when we depend on unversioned `erlang`.
bin.env_script_all_files libexec, PATH: "#{Formula["erlang@26"].opt_bin}:$PATH"
end

test do
Expand Down

0 comments on commit 744c469

Please sign in to comment.