haskell/cabal — pull request #1133 by 23Skidoo (2012-11-24 16:17:08+00:00)
Title: Don't pass '--disable-benchmarks' to setups built with Cabal < 1.14.

Fixes #932 and #1004.

Without this patch:

$ cabal install -w /home/gman/bin/ghc-7.2.1/bin/ghc syb
[...]
unrecognized option `--disable-benchmarks'
Failed to install syb-0.3.7

With this patch:

$ cabal install -w /home/gman/bin/ghc-7.2.1/bin/ghc syb
[...]
Registering syb-0.3.7...
Installed syb-0.3.7