diff options
| author | Adam Vandenberg | 2012-02-20 19:11:44 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-20 19:11:44 -0800 |
| commit | c25c7c486e539e55b8ad530d212f2ab81eca8f57 (patch) | |
| tree | 9f5422eb71f09b39e1b7e047ff847b0c872874e6 /Library/Formula | |
| parent | 7bd0d39dbcf1aed1c8b645248852882222585d1d (diff) | |
| download | homebrew-c25c7c486e539e55b8ad530d212f2ab81eca8f57.tar.bz2 | |
nmap: style issues
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nmap.rb | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/Library/Formula/nmap.rb b/Library/Formula/nmap.rb index 55439fc8a..0520d6660 100644 --- a/Library/Formula/nmap.rb +++ b/Library/Formula/nmap.rb @@ -11,6 +11,15 @@ class Nmap < Formula fails_with_llvm :build => 2334 + # The configure script has a C file to test for some functionality that uses + # void main(void). This does not compile with clang but does compile with + # GCC/gcc-llvm. This small patch fixes the issues so that the project will + # compile without issues with clang as well. See: + # https://github.com/mxcl/homebrew/issues/10300 + def patches + DATA + end + def install ENV.deparallelize @@ -25,16 +34,6 @@ class Nmap < Formula system "make" # separate steps required otherwise the build fails system "make install" end - - def patches - # The configure script has a C file to test for some functionality that - # uses void main(void). This does not compile with clang but does compile - # with GCC/gcc-llvm. This small patch fixes the issues so that the - # project will compile without issues with clang as well. - # - # See: https://github.com/mxcl/homebrew/issues/10300 - DATA - end end __END__ |
