mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
apparmor: explain makefile fix
This commit is contained in:
parent
dc01881072
commit
20661f35a0
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
|
# Make.rules feeds some system headers to the C preprocessor to produce
|
||||||
|
# lists of capability and address-family names that, respectively,
|
||||||
|
# populate `parser/cap_names.h` and `parser/af_names.h`. The escaping
|
||||||
|
# backslash in the '\#include" directives here is seen by the
|
||||||
|
# preprocessor, causing it to skip the system headers and produce empty
|
||||||
|
# files. Removing the backslash ensures correct behavior.
|
||||||
vsed -i ${wrksrc}/common/Make.rules -e 's/\\#include </#include </'
|
vsed -i ${wrksrc}/common/Make.rules -e 's/\\#include </#include </'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue