From dd9e0ce5e3cc774c46c3767a8963abc38a9878dd Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Mon, 29 Apr 2024 21:45:09 +0300 Subject: [PATCH] more homebrew stuff --- homebrew/prorab.rb.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homebrew/prorab.rb.in b/homebrew/prorab.rb.in index fd32126..42692b2 100644 --- a/homebrew/prorab.rb.in +++ b/homebrew/prorab.rb.in @@ -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