Commit graph

3 commits

Author SHA1 Message Date
nibbles 2bits
ebefc27212 jscoverage: fix configure errors with clang
jscoverage-0.5.1 has a file with hardcoded gcc and g++, named
configure.gnu.  inreplace those with ENV.cc and ENV.cxx.

It also has three places in js/configure where the conftest uses

    int main {

but also has two return commands.  The first return command,

    return;

does not return a value.  The second one does `return 0;`.
This causes an error building with clang during configure
because `int main` should return a value.  inline patch those
by removing the extra return command so that it does a `return 0;`

All four of these issues have been bug reported to their tracker,
and the formula comments include a link to the bug report.  The
issues exist in HEAD.  This now builds with all the compilers in
Lion and Snow Leopard, though no runtime tests were done as this
is unfamiliar software.

Fixes Homebrew/homebrew#11600.
Closes Homebrew/homebrew#11611.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-15 15:14:54 -05:00
Stuart Knightley
9d27649950 Update JSCoverage recipe to install jscoverage-server binary
Closes Homebrew/homebrew#9508.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-16 20:49:58 +00:00
Drew Stephens
27fe913ded Create formula for JSCoverage
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-26 12:24:56 -07:00