aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2018-06-23 16:56:09 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-06-23 16:56:56 -0400
commit78590cf01905fd6756d496176ead8f22587be159 (patch)
treea5e463a041aae0b4de46a3775ce5d00ff0497551 /sys-process
parentsys-process/cronie: USE=anacron needs obstack (diff)
downloadmusl-78590cf01905fd6756d496176ead8f22587be159.tar.gz
musl-78590cf01905fd6756d496176ead8f22587be159.tar.bz2
musl-78590cf01905fd6756d496176ead8f22587be159.zip
sys-process/cronie: we need to add -lobstack to CFLAGS
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/cronie/cronie-1.5.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-process/cronie/cronie-1.5.2.ebuild b/sys-process/cronie/cronie-1.5.2.ebuild
index 236870d..04f7c78 100644
--- a/sys-process/cronie/cronie-1.5.2.ebuild
+++ b/sys-process/cronie/cronie-1.5.2.ebuild
@@ -49,7 +49,9 @@ src_configure() {
--with-daemon_groupname=cron
)
- use elibc_musl && append-ldflags "-lobstack"
+ if use anacron; then
+ use elibc_musl && append-cflags "-lobstack"
+ fi
SPOOL_DIR="/var/spool/cron/crontabs" \
ANACRON_SPOOL_DIR="/var/spool/anacron" \
econf "${myeconfargs[@]}"