Skip to content

Commit

Permalink
Provide compatibility with libtool 2.4.2 and 2.4.3+
Browse files Browse the repository at this point in the history
The location of config.guess and config.sub changed.
  • Loading branch information
jacknagel committed Dec 7, 2014
1 parent daceec3 commit 76021a8
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Formula/beecrypt.rb
Expand Up @@ -18,7 +18,7 @@ class Beecrypt < Formula
patch :p0, :DATA

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
Expand Down
2 changes: 1 addition & 1 deletion Formula/corkscrew.rb
Expand Up @@ -8,7 +8,7 @@ class Corkscrew < Formula
depends_on "libtool" => :build

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
Expand Down
2 changes: 1 addition & 1 deletion Formula/gforth.rb
Expand Up @@ -10,7 +10,7 @@ class Gforth < Formula
depends_on 'pcre'

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
ENV.deparallelize
system "./configure", "--prefix=#{prefix}"
system "make" # Separate build steps.
Expand Down
2 changes: 1 addition & 1 deletion Formula/jpeg-turbo.rb
Expand Up @@ -19,7 +19,7 @@ class JpegTurbo < Formula
keg_only "libjpeg-turbo is not linked to prevent conflicts with the standard libjpeg."

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
args = ["--disable-dependency-tracking", "--prefix=#{prefix}", "--with-jpeg8", "--mandir=#{man}"]
if MacOS.prefer_64_bit?
# Auto-detect our 64-bit nasm
Expand Down
2 changes: 1 addition & 1 deletion Formula/recode.rb
Expand Up @@ -14,7 +14,7 @@ def install
ENV.append 'LDFLAGS', '-liconv'
ENV.append 'LDFLAGS', '-lintl'

cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath

system "./configure", "--disable-debug",
"--disable-dependency-tracking",
Expand Down
2 changes: 1 addition & 1 deletion Formula/theora.rb
Expand Up @@ -19,7 +19,7 @@ class Theora < Formula
depends_on "libvorbis"

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-oggtest",
Expand Down
2 changes: 1 addition & 1 deletion Formula/trafshow.rb
Expand Up @@ -28,7 +28,7 @@ class Trafshow < Formula
end

def install
cp Dir["#{Formula["libtool"].opt_share}/libtool/config/config.*"], buildpath
cp Dir["#{Formula["libtool"].opt_share}/libtool/*/config.{guess,sub}"], buildpath

system "./configure", "--disable-debug",
"--disable-dependency-tracking",
Expand Down

0 comments on commit 76021a8

Please sign in to comment.