openjdk: We need ECHO to be echo -e, so replace the override with a sed

svn path=/nixpkgs/trunk/; revision=28084
This commit is contained in:
Shea Levy 2011-08-01 01:15:37 +00:00
parent 5fca670490
commit f70d3b72df

View file

@ -29,10 +29,12 @@ stdenv.mkDerivation rec {
sed -i s@/bin/ls@${coreutils}/bin/ls@ \
openjdk/hotspot/make/linux/makefiles/sa.make
sed -i "s@/bin/echo -e@${coreutils}/bin/echo -e@" \
openjdk/jdk/make/common/shared/Defs-utils.gmk
'';
makeFlags = [
"ECHO=${coreutils}/bin/echo"
"SORT=${coreutils}/bin/sort"
"ALSA_INCLUDE=${alsaLib}/include/alsa/version.h"
"FREETYPE_HEADERS_PATH=${freetype}/include"