diff options
| -rw-r--r-- | Library/Formula/arangodb.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/arangodb.rb b/Library/Formula/arangodb.rb index d2d54dea8..c33387bb8 100644 --- a/Library/Formula/arangodb.rb +++ b/Library/Formula/arangodb.rb @@ -17,14 +17,6 @@ class Arangodb < Formula needs :cxx11 - def suffix - if build.stable? - return "" - else - return "-" + (build.devel? ? version : "unstable") - end - end - def install # clang on 10.8 will still try to build against libstdc++, # which fails because it doesn't have the C++0x features @@ -48,9 +40,10 @@ class Arangodb < Formula --enable-mruby --datadir=#{share} --localstatedir=#{var} - --program-suffix=#{suffix} ] + args << "--program-suffix=unstable" if build.head? + system "./configure", *args system "make install" |
