LCOV: Fix FreeBSD patch.

svn path=/nixpkgs/trunk/; revision=34057
This commit is contained in:
Ludovic Courtès 2012-05-11 09:31:37 +00:00
parent 2c64c7fe9d
commit 63a9c0e5a1

View File

@ -1,13 +1,13 @@
FreeBSD's `install' doesn't support `-D'. Thus, use GNU install instead,
since `stdenv-native' assumes that `ginstall' is available.
--- lcov-1.9/bin/install.sh 2012-03-02 16:53:28.000000000 +0100
+++ lcov-1.9/bin/install.sh 2010-08-06 13:05:17.000000000 +0200
@@ -34,7 +34,7 @@ do_install()
--- lcov-1.9/bin/install.sh 2010-08-06 13:05:17.000000000 +0200
+++ lcov-1.9/bin/install.sh 2012-03-02 16:53:28.000000000 +0100
@@ -34,6 +34,6 @@
local TARGET=$2
local PARAMS=$3
- ginstall -p -D $PARAMS $SOURCE $TARGET
+ install -p -D $PARAMS $SOURCE $TARGET
- install -p -D $PARAMS $SOURCE $TARGET
+ ginstall -p -D $PARAMS $SOURCE $TARGET
}