cronie: unbreak musl
This commit is contained in:
parent
ea0a4cc937
commit
f708d95d01
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cronie'
|
||||
pkgname=cronie
|
||||
version=1.5.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-inotify --without-selinux --with-pam
|
||||
--enable-anacron --enable-pie --enable-relro"
|
||||
|
@ -25,6 +25,16 @@ license="BSD"
|
|||
distfiles="https://fedorahosted.org/releases/c/r/cronie/cronie-$version.tar.gz"
|
||||
checksum=9cf0e3f4f5042a9c09413d62c8e0c055e12401f70b112465f0f81f2c84ebfb3f
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" musl-obstack" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) LIBS+=" -lobstack" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv cronie
|
||||
vinstall ${FILESDIR}/crontab 644 etc
|
||||
|
|
Loading…
Add table
Reference in a new issue