diff options
| author | Steven Hahn | 2013-11-12 10:07:04 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-14 07:39:48 -0800 |
| commit | c4332fe4d0e11a968de918696d2d9ad0d95510c3 (patch) | |
| tree | a55547c3218f40329106e7533584f3b072e5dcc0 /Library | |
| parent | f87d0dbe7b996f210ecfc15196bf166986b4a691 (diff) | |
| download | homebrew-c4332fe4d0e11a968de918696d2d9ad0d95510c3.tar.bz2 | |
Updated to version 2.4 and added c++11 option
I modified the formula so that the url now points to version 2.4
released November 2, 2013. In addition, I added the option to build
using C++11 mode.
Closes #24216.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nlopt.rb | 7 |
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" |
