3
0
Fork 0
forked from mirrors/nixpkgs

MediumBlue is currently too dark to be background for black checkmark, correct to Light

svn path=/nixpkgs/trunk/; revision=27340
This commit is contained in:
Michael Raskin 2011-05-31 20:18:40 +00:00
parent 168080d159
commit 372aaf63e1

View file

@ -30,8 +30,8 @@ rec {
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["addInputs" "doUnpack" "fixMakefiles" "fixCfiles" "doConfigure"
"doMakeInstall" "doWrap"];
phaseNames = ["addInputs" "doUnpack" "fixMakefiles" "fixCfiles" "fixTCLfiles"
"doConfigure" "doMakeInstall" "doWrap"];
doWrap = a.makeManyWrappers ''$out/bin/*'' ''--prefix TCLLIBPATH : "${tk}/lib"'';
@ -46,6 +46,10 @@ rec {
sed -re '/unitp = view_unit[(]uview[)]/aelse *unitp = NULL\;' -i tcltk/tkmap.c
'' ["minInit" "doUnpack"];
fixTCLfiles = a.fullDepEntry ''
sed -re 's@MediumBlue@LightBlue@g' -i tcltk/tkconq.tcl
'' ["minInit" "doUnpack"];
configureFlags = [
"--enable-alternate-scoresdir=scores"
"--with-tclconfig=${tcl}/lib"