aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/arangodb.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-21 02:05:33 -0500
committerJack Nagel2014-10-21 02:10:36 -0500
commit0e0e5fc375b4d90377156902ec0ef56cef9e4733 (patch)
tree1571880f34df308d3fd8aae0b980a1438cc3e214 /Library/Formula/arangodb.rb
parentbdedd1f18e757e0743b95ac162cfcf85ea3b3b11 (diff)
downloadhomebrew-0e0e5fc375b4d90377156902ec0ef56cef9e4733.tar.bz2
arangodb: remove reference to nonexistent devel spec
Diffstat (limited to 'Library/Formula/arangodb.rb')
-rw-r--r--Library/Formula/arangodb.rb11
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"