homebrew-core/Formula/bwm-ng.rb
Xiyue Deng f728a0e0d4 bwm-ng: fix building with clang.
* Use c89 inline rules so that clang can build it.

Closes Homebrew/homebrew#23676.
2013-10-27 16:29:08 -07:00

14 lines
417 B
Ruby

require 'formula'
class BwmNg < Formula
homepage 'http://www.gropp.org/?id=projects&sub=bwm-ng'
url 'http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz'
sha1 '90bab1837f179fa1fe0d4b8bad04072affa39c01'
def install
ENV.append 'CFLAGS', '-std=gnu89'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end