diff options
| author | Adam Vandenberg | 2010-04-06 22:58:35 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:53 -0700 | 
| commit | d0efd9ee94a55e243f3b10e903526274fc21d569 (patch) | |
| tree | b21984390a0292957a3819df57c62bac558d284d /Library/Formula/haproxy.rb | |
| parent | cdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff) | |
| download | homebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2 | |
Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/haproxy.rb')
| -rw-r--r-- | Library/Formula/haproxy.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/Library/Formula/haproxy.rb b/Library/Formula/haproxy.rb index 82c121e18..1dec2e07b 100644 --- a/Library/Formula/haproxy.rb +++ b/Library/Formula/haproxy.rb @@ -6,11 +6,11 @@ class Haproxy <Formula    homepage 'http://haproxy.1wt.eu'    def install -    inreplace 'Makefile' do |contents| -      contents.change_make_var! 'PREFIX', prefix -      contents.change_make_var! 'DOCDIR', doc +    inreplace 'Makefile' do |s| +      s.change_make_var! 'PREFIX', prefix +      s.change_make_var! 'DOCDIR', doc        # use our CC, CFLAGS and LDFLAGS -      contents.remove_make_var! %w[LDFLAGS CFLAGS CC] +      s.remove_make_var! %w[LDFLAGS CFLAGS CC]      end      # We build generic since the Makefile.osx doesn't appear to work | 
