diff options
| author | Steven Hahn | 2013-11-12 11:13:48 -0500 | 
|---|---|---|
| committer | Adam Vandenberg | 2013-11-13 07:53:58 -0800 | 
| commit | 83ded5598d81cdcb5b37caefff4d4f721fdae5f2 (patch) | |
| tree | 5097853a74e840f476f82f8a48da56c3b4565cec | |
| parent | 96b89f7195de527a81bbfb10c57210a781c42387 (diff) | |
| download | homebrew-83ded5598d81cdcb5b37caefff4d4f721fdae5f2.tar.bz2 | |
log4cplus: added c++11 option
I added the option to build log4cplus using C++11 mode
Closes #24217.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/log4cplus.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/Library/Formula/log4cplus.rb b/Library/Formula/log4cplus.rb index 930a8b7aa..516df9e6a 100644 --- a/Library/Formula/log4cplus.rb +++ b/Library/Formula/log4cplus.rb @@ -5,7 +5,10 @@ class Log4cplus < Formula    url 'http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/1.1.1/log4cplus-1.1.1.tar.bz2'    sha1 '3a86b2e124091c9345ee1bac81ca1fb3773fad60' +  option :cxx11 +    def install +    ENV.cxx11 if build.cxx11?      system "./configure", "--disable-dependency-tracking",                            "--prefix=#{prefix}"      system "make install" | 
