diff options
| author | Jack Nagel | 2014-05-13 12:54:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-13 12:54:22 -0500 |
| commit | 20ad37d66269c50a235f41b875f2da564bd630b1 (patch) | |
| tree | 8e7d6985c56d33bc7028563b734e83aaab2aa327 /Library/Formula | |
| parent | cece19f122192ed4cf75efff00dbca68ca878b24 (diff) | |
| download | homebrew-20ad37d66269c50a235f41b875f2da564bd630b1.tar.bz2 | |
psftools: generate better configure script using autoconf
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/psftools.rb | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/Library/Formula/psftools.rb b/Library/Formula/psftools.rb index a014b2b13..bdabb63b4 100644 --- a/Library/Formula/psftools.rb +++ b/Library/Formula/psftools.rb @@ -5,25 +5,16 @@ class Psftools < Formula url 'http://www.seasip.info/Unix/PSF/psftools-1.0.7.tar.gz' sha1 '4e8b2e7686532a25c18cacaeb90a8f0ed57a30c6' + depends_on "autoconf" => :build + resource "pc8x8font" do url 'http://www.zone38.net/font/pc8x8.zip' sha1 '4dbd149bb97b5b4f3464fcbda2387a479b09acb7' end def install - # This very old configure script does not anticipate that passing -g - # will result in .dSYM directories being created. -g is only passed - # when CFLAGS is unset (superenv), so let's set it to the empty string - cflags = ENV['CFLAGS'] - ENV['CFLAGS'] = '' - - system "./configure", "--disable-debug", - "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--mandir=#{man}" - - ENV['CFLAGS'] = cflags - + system "autoconf" + system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" system "make install" end |
