Work around a gcl bug related to temporary directories - bug report sent upstream
svn path=/nixpkgs/trunk/; revision=22499
This commit is contained in:
parent
058ccd7714
commit
ce2f4992f1
@ -20,6 +20,13 @@ rec {
|
|||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
|
|
||||||
|
# Upstream bug submitted - http://savannah.gnu.org/bugs/index.php?30371
|
||||||
|
# $TMPDIR must have no extension
|
||||||
|
setVars = a.noDepEntry ''
|
||||||
|
export TMPDIR="''${TMPDIR:-''${TMP:-''${TEMP}}}/tmp-for-gcl"
|
||||||
|
mkdir -p "$TMPDIR"
|
||||||
|
'';
|
||||||
|
|
||||||
preBuild = a.fullDepEntry (''
|
preBuild = a.fullDepEntry (''
|
||||||
sed -re "s@/bin/cat@$(which cat)@g" -i configure */configure
|
sed -re "s@/bin/cat@$(which cat)@g" -i configure */configure
|
||||||
sed -re "s@if test -d /proc/self @if false @" -i configure
|
sed -re "s@if test -d /proc/self @if false @" -i configure
|
||||||
@ -29,7 +36,7 @@ rec {
|
|||||||
fixConfigure = a.doPatchShebangs ".";
|
fixConfigure = a.doPatchShebangs ".";
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doUnpack" "fixConfigure" "preBuild"
|
phaseNames = ["setVars" "doUnpack" "fixConfigure" "preBuild"
|
||||||
"doConfigure" "doMakeInstall"];
|
"doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user