diff options
| author | Adam Vandenberg | 2010-02-04 11:31:40 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-04 11:35:54 -0800 |
| commit | bc5c995d2f09d89f576d29dadc6bfd624b327413 (patch) | |
| tree | 1b892887271303873f7dcfce3675d65732816db9 /Library/Formula | |
| parent | 760ceef59d2ac08ddc449fa13424cabcd5a10a64 (diff) | |
| download | homebrew-bc5c995d2f09d89f576d29dadc6bfd624b327413.tar.bz2 | |
dtach detects ENV flags, so don't remove from Makefile
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dtach.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/dtach.rb b/Library/Formula/dtach.rb index ae597467b..6dc57987e 100644 --- a/Library/Formula/dtach.rb +++ b/Library/Formula/dtach.rb @@ -6,15 +6,10 @@ class Dtach <Formula homepage 'http://dtach.sourceforge.net/' def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" - # Includes <config.h> instead of "config.h", so "." needs to be in the include path. ENV.append "CFLAGS", "-I." - inreplace "Makefile" do |f| - # Use our own flags, thanks. - %w[CC CFLAGS LIBS].each { |flag| f.change_make_var! flag, "" } - end + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make" bin.install "dtach" |
