aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nload.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/nload.rb b/Library/Formula/nload.rb
index 0147e4409..8d41434bc 100644
--- a/Library/Formula/nload.rb
+++ b/Library/Formula/nload.rb
@@ -9,12 +9,8 @@ class Nload < Formula
build 2334
end
- fails_with :clang do
- cause "ld: internal error: atom not found in symbolIndex(__Z10fromStringIyET_RKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE) for architecture x86_64"
- end
-
- depends_on :autoconf
- depends_on :automake
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
# Patching configure.in file to make configure compile on Mac OS.
# Patch taken from MacPorts.
@@ -22,9 +18,11 @@ class Nload < Formula
def install
system "./run_autotools"
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ # Unset LDFLAGS, "-s" causes the linker to crash
+ system "make", "install", "LDFLAGS="
end
end