Skip to content

Commit

Permalink
Remove lcov coreutils dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Oct 18, 2010
1 parent 7358ccf commit 89a5948
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Library/Formula/lcov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ class Lcov < Formula
homepage 'http://ltp.sourceforge.net/coverage/lcov.php'
md5 '8b88cfc0200a8c176b879ac115a31379'

depends_on 'coreutils'

def install
%w(bin/gendesc bin/genhtml bin/geninfo bin/genpng bin/lcov).each do |file|
inreplace file, '/etc/lcovrc', "#{prefix}/etc/lcovrc"
Expand All @@ -22,12 +20,13 @@ def patches
__END__
--- lcov-1.8/bin/install.sh~ 2010-01-29 19:14:46.000000000 +0900
+++ lcov-1.8/bin/install.sh 2010-04-16 21:40:57.000000000 +0900
@@ -34,7 +34,7 @@
@@ -34,7 +34,8 @@
local TARGET=$2
local PARAMS=$3

- install -p -D $PARAMS $SOURCE $TARGET
+ ginstall -p -D $PARAMS $SOURCE $TARGET
+ mkdir -p `dirname $TARGET`
+ install -p $PARAMS $SOURCE $TARGET
}


Expand Down

0 comments on commit 89a5948

Please sign in to comment.