shadow: make this build with musl.

This commit is contained in:
Juan RP 2014-01-11 17:05:51 +01:00
parent a488750341
commit 4bc743cc81

View file

@ -38,6 +38,13 @@ if [ "$CROSS_BUILD" ]; then
}
fi
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
# Completely disable unportable ruserok().
*-musl) sed '/RUSEROK/d' -i configure;;
esac
}
do_build() {
# Don't install groups(1), we use the one from coreutils.
sed -i 's/groups$(EXEEXT) //' src/Makefile