From c95d8ef87dbeef6e31ea525c8a34f5c699ac3def Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Mon, 23 Dec 2019 18:56:06 +0100 Subject: [PATCH] sys-process/cronie: Simplified ebuilds a bit Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler --- sys-process/cronie/cronie-1.5.4-r1.ebuild | 5 +++-- sys-process/cronie/cronie-1.5.5.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-process/cronie/cronie-1.5.4-r1.ebuild b/sys-process/cronie/cronie-1.5.4-r1.ebuild index 06e156a8cb73d..c56c8960c7f02 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" \ diff --git a/sys-process/cronie/cronie-1.5.5.ebuild b/sys-process/cronie/cronie-1.5.5.ebuild index d6478c60ec6c6..b27c909f26e06 100644 --- a/sys-process/cronie/cronie-1.5.5.ebuild +++ b/sys-process/cronie/cronie-1.5.5.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" \