diff options
| author | Xiyue Deng | 2013-10-27 16:26:31 -0700 |
|---|---|---|
| committer | Xiyue Deng | 2013-10-27 16:29:08 -0700 |
| commit | 5d0938f22ddcdf51908417cef6e7824ac4e7a1d7 (patch) | |
| tree | c44132d43987d496fae81e0557ed3eb161f00df5 /Library/Formula | |
| parent | 4a67752e6759c52a2678bc1156cbdda9e2e6b698 (diff) | |
| download | homebrew-5d0938f22ddcdf51908417cef6e7824ac4e7a1d7.tar.bz2 | |
bwm-ng: fix building with clang.
* Use c89 inline rules so that clang can build it.
Closes #23676.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bwm-ng.rb | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Library/Formula/bwm-ng.rb b/Library/Formula/bwm-ng.rb index 1e1d8f11d..fa32d49ed 100644 --- a/Library/Formula/bwm-ng.rb +++ b/Library/Formula/bwm-ng.rb @@ -5,20 +5,8 @@ class BwmNg < Formula url 'http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz' sha1 '90bab1837f179fa1fe0d4b8bad04072affa39c01' - fails_with :clang do - build 425 - cause <<-EOS.undent - Undefined symbols for architecture x86_64: - "_dyn_byte_value2str", referenced from: - _values2str in output.o - "_get_iface_stats", referenced from: - _main in bwm-ng.o - _handle_gui_input in curses_tools.o - (maybe you meant: _get_iface_stats_netstat, _get_iface_stats_sysctl , _get_iface_stats_getifaddrs ) - EOS - end - def install + ENV.append 'CFLAGS', '-std=gnu89' system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
