cronie: unbreak musl builds
This commit is contained in:
@@ -33,14 +33,14 @@ alternatives="
|
|||||||
crond:crond.8:/usr/share/man/man8/cronie-crond.8
|
crond:crond.8:/usr/share/man/man8/cronie-crond.8
|
||||||
"
|
"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) makedepends+=" musl-obstack" ;;
|
makedepends+=" musl-obstack"
|
||||||
esac
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
*-musl) sed -i Makefile */Makefile -e "s; -lpam; -lobstack&;" ;;
|
export LIBS="-lobstack"
|
||||||
esac
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user