diff options
| author | Adam Vandenberg | 2011-06-12 16:38:51 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-12 16:38:51 -0700 |
| commit | 01504895359e84b00f499cd818d3c98f6c86bf50 (patch) | |
| tree | 96bd2ea5539263438927d1c83fa9c8df11a9debd | |
| parent | 4e03e8dd2473bf35919a3fd4dc0d3a9f3a14d27b (diff) | |
| download | homebrew-01504895359e84b00f499cd818d3c98f6c86bf50.tar.bz2 | |
socat: fix for Lion
| -rw-r--r-- | Library/Formula/socat.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/socat.rb b/Library/Formula/socat.rb index 82471fb79..1cdc2211d 100644 --- a/Library/Formula/socat.rb +++ b/Library/Formula/socat.rb @@ -6,6 +6,9 @@ class Socat < Formula md5 '2081987fb0cb0290b8105574058cb329' def install + # Lion requires this flag in some cases + ENV.append "CFLAGS", "-D__APPLE_USE_RFC_3542" if 10.7 <= MACOS_VERSION + ENV.enable_warnings # -wall causes build to fail system "./configure", "--disable-debug", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" |
