amd64 is still x86
svn path=/nixpkgs/trunk/; revision=24648
This commit is contained in:
parent
477bb198c7
commit
df168884a0
@ -11,11 +11,14 @@ rec {
|
|||||||
inherit (s) name;
|
inherit (s) name;
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
|
|
||||||
phaseNames = ["doPatch" "killUsr" "doMakeInstall"];
|
phaseNames = ["doPatch" "fixX86Def" "killUsr" "doMakeInstall"];
|
||||||
patches = [./constants.patch];
|
patches = [./constants.patch];
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"DESTDIR=$out"
|
"DESTDIR=$out"
|
||||||
];
|
];
|
||||||
|
fixX86Def = a.fullDepEntry (''
|
||||||
|
sed -i lrmi.c -e 's@defined(__i386__)@(defined(__i386__) || defined(__x86_64__))@'
|
||||||
|
'') ["doUnpack" "minInit"];
|
||||||
killUsr = a.fullDepEntry (''
|
killUsr = a.fullDepEntry (''
|
||||||
sed -e s@/usr@@ -i Makefile
|
sed -e s@/usr@@ -i Makefile
|
||||||
'') ["doUnpack" "minInit"];
|
'') ["doUnpack" "minInit"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user