Skip to content

Commit

Permalink
more homebrew stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Apr 29, 2024
1 parent 8eed0c8 commit dd9e0ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homebrew/prorab.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class Prorab < Formula
# use gmake here because otherwise homebrew uses default Mac's make which is of too old version 3.81
def install
ENV['PATH'] += ':#{ENV['HOMEBREW_PREFIX']}/bin'
system "gmake", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "install", "PREFIX=#{prefix}"
system "#{ENV['HOMEBREW_PREFIX']}/opt/make/libexec/gnubin/make", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "install", "PREFIX=#{prefix}", "lint=off"
end

test do
system "gmake", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "test"
system "#{ENV['HOMEBREW_PREFIX']}/opt/make/libexec/gnubin/make", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "test"
end
end

0 comments on commit dd9e0ce

Please sign in to comment.