Fixup previous ncmpcpp changes

Somehow pushed an older commit.
This commit is contained in:
Jack Nagel 2014-10-29 00:30:06 -05:00
parent fa3d10ed91
commit 8a6219a3a3
2 changed files with 11 additions and 2 deletions

View file

@ -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'

View file

@ -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"