3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #30695 from flokli/libcap-pkgconfig

libcap: already patch Make.Rules in prePatch
This commit is contained in:
Jörg Thalheim 2017-10-25 09:00:28 +01:00 committed by GitHub
commit f3a2570ba4

View file

@ -30,9 +30,8 @@ stdenv.mkDerivation rec {
# ensure capsh can find bash in $PATH # ensure capsh can find bash in $PATH
substituteInPlace progs/capsh.c --replace execve execvpe substituteInPlace progs/capsh.c --replace execve execvpe
'';
preInstall = '' # set prefixes
substituteInPlace Make.Rules \ substituteInPlace Make.Rules \
--replace 'prefix=/usr' "prefix=$lib" \ --replace 'prefix=/usr' "prefix=$lib" \
--replace 'exec_prefix=' "exec_prefix=$out" \ --replace 'exec_prefix=' "exec_prefix=$out" \