cc65: fix HEAD install; gcc.mak no longer exists.
The `-f make/gcc.mak` option is still required for the latest stable release, but `make/gcc.mak` was made unnecessary and removed in cc65 commit 9fece990bea6525bec5afd8b60d1c731a4d13839 in 2013, so providing that option for HEAD builds causes an error. Closes Homebrew/homebrew#34639. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
26f57f0d62
commit
80470ed13d
1 changed files with 10 additions and 2 deletions
|
@ -13,8 +13,16 @@ class Cc65 < Formula
|
|||
def install
|
||||
ENV.deparallelize
|
||||
ENV.no_optimization
|
||||
system "make", "-f", "make/gcc.mak", "prefix=#{prefix}", "libdir=#{share}"
|
||||
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
|
||||
|
||||
make_vars = ["prefix=#{prefix}", "libdir=#{share}"]
|
||||
|
||||
if head?
|
||||
system "make", *make_vars
|
||||
system "make", "install", *make_vars
|
||||
else
|
||||
system "make", "-f", "make/gcc.mak", *make_vars
|
||||
system "make", "-f", "make/gcc.mak", "install", *make_vars
|
||||
end
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue