aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nlopt.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/nlopt.rb b/Library/Formula/nlopt.rb
index b13aaa491..b0c65cbeb 100644
--- a/Library/Formula/nlopt.rb
+++ b/Library/Formula/nlopt.rb
@@ -2,10 +2,13 @@ require 'formula'
class Nlopt < Formula
homepage 'http://ab-initio.mit.edu/wiki/index.php/NLopt'
- url 'http://ab-initio.mit.edu/nlopt/nlopt-2.3.tar.gz'
- sha1 '28253b65187d9d1d4c75e96310d8ee8c9c5f3cfc'
+ url 'http://ab-initio.mit.edu/nlopt/nlopt-2.4.tar.gz'
+ sha1 'e766f4c49fa5923fb45220f278c01c04c38fc369'
+
+ option :cxx11
def install
+ ENV.cxx11 if build.cxx11?
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"