summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-12-23 18:56:06 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-12-23 18:56:19 +0100
commitc95d8ef87dbeef6e31ea525c8a34f5c699ac3def (patch)
treee9365cc3c64d2cbfc192a2bd81e65b4f3e0d823f /sys-process/cronie/cronie-1.5.4-r1.ebuild
parentsys-process/cronie: Fixed build on uclibc-ng systems (diff)
downloadgentoo-c95d8ef87dbeef6e31ea525c8a34f5c699ac3def.tar.gz
gentoo-c95d8ef87dbeef6e31ea525c8a34f5c699ac3def.tar.bz2
gentoo-c95d8ef87dbeef6e31ea525c8a34f5c699ac3def.zip
sys-process/cronie: Simplified ebuilds a bit
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process/cronie/cronie-1.5.4-r1.ebuild')
-rw-r--r--sys-process/cronie/cronie-1.5.4-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-process/cronie/cronie-1.5.4-r1.ebuild b/sys-process/cronie/cronie-1.5.4-r1.ebuild
index 06e156a8cb7..c56c8960c7f 100644
--- a/sys-process/cronie/cronie-1.5.4-r1.ebuild
+++ b/sys-process/cronie/cronie-1.5.4-r1.ebuild
@@ -54,8 +54,9 @@ src_configure() {
)
if use anacron; then
- use elibc_musl && append-cflags "-lobstack"
- use elibc_uclibc && append-cflags "-lobstack"
+ if use elibc_musl || use elibc_uclibc ; then
+ append-cflags "-lobstack"
+ fi
fi
SPOOL_DIR="/var/spool/cron/crontabs" \
ANACRON_SPOOL_DIR="/var/spool/anacron" \