pandoc: fix head build (#8710)
This commit is contained in:
parent
03d3dcc6db
commit
578446cd27
1 changed files with 5 additions and 3 deletions
|
@ -21,9 +21,11 @@ class Pandoc < Formula
|
|||
|
||||
def install
|
||||
cabal_sandbox do
|
||||
# remove for > 1.19.1; compatibility with directory 1.3
|
||||
system "cabal", "get", "pandoc"
|
||||
mv "pandoc-1.19.1/pandoc.cabal", "pandoc.cabal"
|
||||
if build.stable?
|
||||
# remove for > 1.19.1; compatibility with directory 1.3
|
||||
system "cabal", "get", "pandoc"
|
||||
mv "pandoc-1.19.1/pandoc.cabal", "pandoc.cabal"
|
||||
end
|
||||
|
||||
args = []
|
||||
args << "--constraint=cryptonite -support_aesni" if MacOS.version <= :lion
|
||||
|
|
Loading…
Reference in a new issue