aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/flasm.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/Library/Formula/flasm.rb b/Library/Formula/flasm.rb
index 08ea8222f..8ba8db3a1 100644
--- a/Library/Formula/flasm.rb
+++ b/Library/Formula/flasm.rb
@@ -1,17 +1,13 @@
require 'formula'
class Flasm < Formula
- url 'http://www.nowrap.de/download/flasm16src.zip'
- version '1.62'
homepage 'http://www.nowrap.de/flasm.html'
+ url 'http://www.nowrap.de/download/flasm16src.zip'
md5 '28a4586409061b385d1cd27d3f120c0b'
+ version '1.62'
def install
- inreplace "Makefile" do |s|
- s.change_make_var! 'CFLAGS', ENV.cflags
- end
-
- system "make"
+ system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "flasm"
end
end