cronie: unbreak musl builds

This commit is contained in:
Juan RP 2019-11-02 16:55:31 +01:00
parent 812b4f28ea
commit ce5892305f
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368

View file

@ -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() {