diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-12-23 18:56:06 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-12-23 18:56:19 +0100 |
commit | c95d8ef87dbeef6e31ea525c8a34f5c699ac3def (patch) | |
tree | e9365cc3c64d2cbfc192a2bd81e65b4f3e0d823f /sys-process | |
parent | sys-process/cronie: Fixed build on uclibc-ng systems (diff) | |
download | gentoo-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')
-rw-r--r-- | sys-process/cronie/cronie-1.5.4-r1.ebuild | 5 | ||||
-rw-r--r-- | 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 06e156a8cb73..c56c8960c7f0 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 d6478c60ec6c..b27c909f26e0 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" \ |