3
0
Fork 0
forked from mirrors/nixpkgs
svn path=/nixpkgs/trunk/; revision=26858
This commit is contained in:
Joachim Schiele 2011-04-16 22:47:15 +00:00
parent a42b81d33d
commit ece5a6bfc7

View file

@ -13,9 +13,13 @@ rec {
phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
patches = [./constants.patch];
# fixes http://www.mail-archive.com/suspend-devel@lists.sourceforge.net/msg02355.html
my64bitFlags= if (a.stdenv.system == "x86_64-linux") then ["BACKEND=x86emu"] else [""];
makeFlags = [
"DESTDIR=$out"
];
] ++ [my64bitFlags];
fixX86Def = a.fullDepEntry (''
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
'') ["doUnpack" "minInit"];