commit:     fa2962c4a96704f4ce86998995c53c2a0f86c260
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Dec 31 10:54:39 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 00:19:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa2962c4

app-admin/cronolog: fix calling ar directly, bug #721908

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>

Closes: https://bugs.gentoo.org/721908
Closes: https://github.com/gentoo/gentoo/pull/34575
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-admin/cronolog/cronolog-1.6.2-r7.ebuild | 30 +++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/app-admin/cronolog/cronolog-1.6.2-r7.ebuild 
b/app-admin/cronolog/cronolog-1.6.2-r7.ebuild
new file mode 100644
index 000000000000..32788154300e
--- /dev/null
+++ b/app-admin/cronolog/cronolog-1.6.2-r7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Log rotation software"
+HOMEPAGE="https://github.com/fordmason/cronolog";
+SRC_URI="http://cronolog.org/download/${P}.tar.gz";
+
+LICENSE="GPL-2+ Apache-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+PATCHES=(
+       "${FILESDIR}"/${PV}-patches
+       # rename and move into ${PV}-patches after -r3 removal
+       "${FILESDIR}"/${P}-umask.patch
+)
+
+src_prepare() {
+       default
+       mv configure.{in,ac} || die
+       eautoreconf
+}
+
+src_compile() {
+       emake AR="$(tc-getAR)"
+}

Reply via email to