From 66b5b49dbc1125b084f8c4e16eb87547193dc114 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 16 May 2014 14:10:23 -0500 Subject: gforth: copy new config.guess from libtool --- Library/Formula/gforth.rb | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'Library/Formula/gforth.rb') 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 -- cgit v1.2.3