diff options
| author | Mike McQuaid | 2014-09-08 13:27:45 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-08 13:27:45 +0100 |
| commit | 0b8e5331f620cb652b1db7d59f9fbf102a960293 (patch) | |
| tree | fa1f3fa9418fa5e55ee3d49b3daf18955d060222 | |
| parent | f984974f667035189795800baf2598657a3d8261 (diff) | |
| download | homebrew-0b8e5331f620cb652b1db7d59f9fbf102a960293.tar.bz2 | |
gnu-cobol: fix inreplace placement.
| -rw-r--r-- | Library/Formula/gnu-cobol.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gnu-cobol.rb b/Library/Formula/gnu-cobol.rb index d31a07a94..b7ad3572a 100644 --- a/Library/Formula/gnu-cobol.rb +++ b/Library/Formula/gnu-cobol.rb @@ -25,11 +25,12 @@ class GnuCobol < Formula ENV.append "CPPFLAGS", "-I#{gmp.opt_include} -I#{bdb.opt_include}" ENV.append "LDFLAGS", "-L#{gmp.opt_lib} -L#{bdb.opt_lib}" + system "aclocal" + # fix referencing of libintl and libiconv for ld # bug report can be found here: https://sourceforge.net/p/open-cobol/bugs/93/ inreplace "configure", "-R$found_dir", "-L$found_dir" - system "aclocal" args = ["--prefix=#{prefix}", "--infodir=#{info}"] args << "--with-libiconv-prefix=/usr" args << "--with-libintl-prefix=/usr" |
