policycoreutils: fix build on i686 for ZHF
This commit is contained in:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1lpwxr5hw3dwhlp2p7y8jcr18mvfcrclwd8c2idz3lmmb3pglk46";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
preConfigure = ''
|
||||
substituteInPlace po/Makefile --replace /usr/bin/install install
|
||||
find . -type f -exec sed -i 's,/usr/bin/python,${python}/bin/python,' {} \;
|
||||
'';
|
||||
@@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = "PREFIX=$(out) DESTDIR=$(out) LOCALEDIR=$(out)/share/locale";
|
||||
|
||||
patches = [ ./size_format.patch ];
|
||||
|
||||
patchFlags = [ "-p0" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SELinux policy core utilities";
|
||||
license = licenses.gpl2;
|
||||
|
||||
Reference in New Issue
Block a user