shadow: make this build with musl.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user