shadow: make this build with musl.
This commit is contained in:
parent
a488750341
commit
4bc743cc81
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
# Completely disable unportable ruserok().
|
||||||
|
*-musl) sed '/RUSEROK/d' -i configure;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Don't install groups(1), we use the one from coreutils.
|
# Don't install groups(1), we use the one from coreutils.
|
||||||
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
sed -i 's/groups$(EXEEXT) //' src/Makefile
|
||||||
|
|
Loading…
Reference in a new issue