mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
apparmor: fixup to use some multiple-output paths
This commit is contained in:
parent
753cfbe09b
commit
9d19ac7d0d
@ -22,7 +22,7 @@ let
|
|||||||
prePatchCommon = ''
|
prePatchCommon = ''
|
||||||
substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2man" "${perl}/bin/pod2man"
|
substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2man" "${perl}/bin/pod2man"
|
||||||
substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2html" "${perl}/bin/pod2html"
|
substituteInPlace ./common/Make.rules --replace "/usr/bin/pod2html" "${perl}/bin/pod2html"
|
||||||
substituteInPlace ./common/Make.rules --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
|
substituteInPlace ./common/Make.rules --replace "/usr/include/linux/capability.h" "${glibc.dev}/include/linux/capability.h"
|
||||||
substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
|
substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -49,8 +49,8 @@ let
|
|||||||
dontDisableStatic = true;
|
dontDisableStatic = true;
|
||||||
|
|
||||||
prePatch = prePatchCommon + ''
|
prePatch = prePatchCommon + ''
|
||||||
substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${glibc}/include/netinet/in.h"
|
substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${glibc.dev}/include/netinet/in.h"
|
||||||
substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${glibc}/include/netinet/in.h"
|
substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${glibc.dev}/include/netinet/in.h"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = "cd ./libraries/libapparmor";
|
postPatch = "cd ./libraries/libapparmor";
|
||||||
@ -104,7 +104,7 @@ let
|
|||||||
prePatch = prePatchCommon + ''
|
prePatch = prePatchCommon + ''
|
||||||
substituteInPlace ./parser/Makefile --replace "/usr/bin/bison" "${bison}/bin/bison"
|
substituteInPlace ./parser/Makefile --replace "/usr/bin/bison" "${bison}/bin/bison"
|
||||||
substituteInPlace ./parser/Makefile --replace "/usr/bin/flex" "${flex}/bin/flex"
|
substituteInPlace ./parser/Makefile --replace "/usr/bin/flex" "${flex}/bin/flex"
|
||||||
substituteInPlace ./parser/Makefile --replace "/usr/include/linux/capability.h" "${glibc}/include/linux/capability.h"
|
substituteInPlace ./parser/Makefile --replace "/usr/include/linux/capability.h" "${glibc.dev}/include/linux/capability.h"
|
||||||
## techdoc.pdf still doesn't build ...
|
## techdoc.pdf still doesn't build ...
|
||||||
substituteInPlace ./parser/Makefile --replace "manpages htmlmanpages pdf" "manpages htmlmanpages"
|
substituteInPlace ./parser/Makefile --replace "manpages htmlmanpages pdf" "manpages htmlmanpages"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user