aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ssss.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ssss.rb')
-rw-r--r--Library/Formula/ssss.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/Library/Formula/ssss.rb b/Library/Formula/ssss.rb
index 3e86b2fca..6e3c8aed6 100644
--- a/Library/Formula/ssss.rb
+++ b/Library/Formula/ssss.rb
@@ -9,11 +9,10 @@ class Ssss <Formula
depends_on 'xmltoman'
def install
-
- inreplace 'Makefile' do |contents|
+ inreplace 'Makefile' do |s|
# Compile with -DNOMLOCK to avoid warning on every run on OS X.
- contents.gsub! /\-W/, '-W -DNOMLOCK $(CFLAGS) $(LDFLAGS)'
- contents.change_make_var! "CC", ENV.cc
+ s.gsub! /\-W/, '-W -DNOMLOCK $(CFLAGS) $(LDFLAGS)'
+ s.change_make_var! "CC", ENV.cc
end
ENV.append 'CFLAGS', "-I#{HOMEBREW_PREFIX}/include"
@@ -22,6 +21,4 @@ class Ssss <Formula
man1.install %w{ ssss.1 }
bin.install %w{ ssss-combine ssss-split }
end
-
-end
-
+end \ No newline at end of file