diff options
| author | Jack Nagel | 2014-05-16 14:10:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-16 14:10:23 -0500 |
| commit | 66b5b49dbc1125b084f8c4e16eb87547193dc114 (patch) | |
| tree | 57702511fa307cf589bdba9040f691db4862c623 /Library/Formula/gforth.rb | |
| parent | aaf1983770be3f895cee4af16da000524e208af3 (diff) | |
| download | homebrew-66b5b49dbc1125b084f8c4e16eb87547193dc114.tar.bz2 | |
gforth: copy new config.guess from libtool
Diffstat (limited to 'Library/Formula/gforth.rb')
| -rw-r--r-- | Library/Formula/gforth.rb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/Library/Formula/gforth.rb b/Library/Formula/gforth.rb index 743f38e2e..01c90b387 100644 --- a/Library/Formula/gforth.rb +++ b/Library/Formula/gforth.rb @@ -9,21 +9,10 @@ class Gforth < Formula depends_on 'libffi' depends_on 'pcre' - def darwin_major_version - # kern.osrelease: 11.4.2 - full_version = `/usr/sbin/sysctl -n kern.osrelease` - full_version.split("\.")[0] - end - def install + cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath ENV.deparallelize - args = %W[--prefix=#{prefix}] - - if MacOS.prefer_64_bit? - args << "--build=x86_64-apple-darwin#{darwin_major_version}" - end - - system "./configure", *args + system "./configure", "--prefix=#{prefix}" system "make" # Separate build steps. system "make install" end |
