blahtexml: remove options

This commit is contained in:
FX Coudert 2018-09-13 12:07:24 +02:00
parent bd44211586
commit 92c16d96a0

View file

@ -13,11 +13,8 @@ class Blahtexml < Formula
sha256 "b1788b8622b704c67b11295f6bf84ab881298980f8101b5fed6cb7441b4edc82" => :el_capitan
end
deprecated_option "blahtex-only" => "without-blahtexml"
option "without-blahtexml", "Build only blahtex, not blahtexml"
depends_on "xerces-c" if build.with? "blahtexml"
needs :cxx11 if build.with? "blahtexml"
depends_on "xerces-c"
needs :cxx11
# Add missing unistd.h includes, taken from MacPorts
patch :p0 do
@ -31,13 +28,11 @@ class Blahtexml < Formula
end
def install
ENV.cxx11 if build.with? "blahtexml"
ENV.cxx11
system "make", "blahtex-mac"
bin.install "blahtex"
if build.with? "blahtexml"
system "make", "blahtexml-mac"
bin.install "blahtexml"
end
system "make", "blahtexml-mac"
bin.install "blahtexml"
end
end