From 92731111617b2c6ba7c0d301fec2aab1a71ed0d9 Mon Sep 17 00:00:00 2001 From: Steffen Christgau Date: Mon, 23 Dec 2019 18:53:39 +0100 Subject: sys-process/cronie: Fixed build on uclibc-ng systems Closes: https://bugs.gentoo.org/703126 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler --- sys-process/cronie/cronie-1.5.4-r1.ebuild | 2 ++ sys-process/cronie/cronie-1.5.5.ebuild | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sys-process/cronie') diff --git a/sys-process/cronie/cronie-1.5.4-r1.ebuild b/sys-process/cronie/cronie-1.5.4-r1.ebuild index 29ca8c72c0c9..06e156a8cb73 100644 --- a/sys-process/cronie/cronie-1.5.4-r1.ebuild +++ b/sys-process/cronie/cronie-1.5.4-r1.ebuild @@ -17,6 +17,7 @@ DEPEND=" pam? ( sys-libs/pam ) anacron? ( !sys-process/anacron elibc_musl? ( sys-libs/obstack-standalone ) + elibc_uclibc? ( sys-libs/obstack-standalone ) ) " RDEPEND="${DEPEND} @@ -54,6 +55,7 @@ src_configure() { if use anacron; then use elibc_musl && append-cflags "-lobstack" + use elibc_uclibc && append-cflags "-lobstack" 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 33cb53bf2828..d6478c60ec6c 100644 --- a/sys-process/cronie/cronie-1.5.5.ebuild +++ b/sys-process/cronie/cronie-1.5.5.ebuild @@ -17,6 +17,7 @@ DEPEND=" pam? ( sys-libs/pam ) anacron? ( !sys-process/anacron elibc_musl? ( sys-libs/obstack-standalone ) + elibc_uclibc? ( sys-libs/obstack-standalone ) ) " RDEPEND="${DEPEND} @@ -54,6 +55,7 @@ src_configure() { if use anacron; then use elibc_musl && append-cflags "-lobstack" + use elibc_uclibc && append-cflags "-lobstack" fi SPOOL_DIR="/var/spool/cron/crontabs" \ ANACRON_SPOOL_DIR="/var/spool/anacron" \ -- cgit v1.2.3-65-gdbad