policycoreutils: fix build on i686 for ZHF

This commit is contained in:
Luca Bruno
2014-08-21 17:29:51 +02:00
parent 186589fdd1
commit dcf17d3d5d
2 changed files with 16 additions and 1 deletions
@@ -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;