diff options
| author | Jack Nagel | 2014-10-29 00:30:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-29 00:30:41 -0500 |
| commit | e7f17f1bb18ad3ba119322db7c36ba5c9d42c69e (patch) | |
| tree | 448d5aad42cffd4a7cd5ee634148f714f47cd3a1 /Library/Formula | |
| parent | 8664391f3d66d449a31193a63e458f0c149b6ce1 (diff) | |
| download | homebrew-e7f17f1bb18ad3ba119322db7c36ba5c9d42c69e.tar.bz2 | |
Fixup previous ncmpcpp changes
Somehow pushed an older commit.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ncmpcpp.rb | 10 | ||||
| -rw-r--r-- | Library/Formula/taglib.rb | 3 |
2 files changed, 11 insertions, 2 deletions
diff --git a/Library/Formula/ncmpcpp.rb b/Library/Formula/ncmpcpp.rb index 5829c9639..38fb4a6e5 100644 --- a/Library/Formula/ncmpcpp.rb +++ b/Library/Formula/ncmpcpp.rb @@ -21,11 +21,17 @@ class Ncmpcpp < Formula end depends_on 'pkg-config' => :build - depends_on 'taglib' depends_on 'libmpdclient' - depends_on 'boost' depends_on 'readline' + if MacOS.version < :mavericks + depends_on "boost" => "c++11" + depends_on "taglib" => "c++11" + else + depends_on "boost" + depends_on "taglib" + end + depends_on 'fftw' if build.include? "visualizer" option 'outputs', 'Compile with mpd outputs control' diff --git a/Library/Formula/taglib.rb b/Library/Formula/taglib.rb index 7253ab688..fb033658d 100644 --- a/Library/Formula/taglib.rb +++ b/Library/Formula/taglib.rb @@ -15,7 +15,10 @@ class Taglib < Formula depends_on 'cmake' => :build + option :cxx11 + def install + ENV.cxx11 if build.cxx11? ENV.append 'CXXFLAGS', "-DNDEBUG=1" system "cmake", "-DWITH_MP4=ON", "-DWITH_ASF=ON", *std_cmake_args system "make" |
