From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F42F15803E for ; Sun, 7 Jan 2024 00:20:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3D252BC02B; Sun, 7 Jan 2024 00:20:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE5062BC02B for ; Sun, 7 Jan 2024 00:20:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA3D93431E3 for ; Sun, 7 Jan 2024 00:20:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF19714B4 for ; Sun, 7 Jan 2024 00:20:22 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1704586773.e4b532232ca1867227e6518b896dfb2acb620267.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libelf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libelf/libelf-0.8.13-r4.ebuild X-VCS-Directories: dev-libs/libelf/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: e4b532232ca1867227e6518b896dfb2acb620267 X-VCS-Branch: master Date: Sun, 7 Jan 2024 00:20:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d97c9ba4-c16a-4356-8c40-c995bdd2e951 X-Archives-Hash: 44815b2a7405ffe4c47031eb02a631ad commit: e4b532232ca1867227e6518b896dfb2acb620267 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sun Dec 31 10:08:09 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jan 7 00:19:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b53223 dev-libs/libelf: fix HOMEPAGE, LICENSE, calling ar directly, bug #719060 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://bugs.gentoo.org/719060 Closes: https://github.com/gentoo/gentoo/pull/34573 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/libelf/libelf-0.8.13-r4.ebuild | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/dev-libs/libelf/libelf-0.8.13-r4.ebuild b/dev-libs/libelf/libelf-0.8.13-r4.ebuild new file mode 100644 index 000000000000..32b59158bf4b --- /dev/null +++ b/dev-libs/libelf/libelf-0.8.13-r4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="ELF object file access library" +HOMEPAGE=" + https://directory.fsf.org/wiki/Libelf + https://web.archive.org/web/20190203164512/http://www.mr511.de/software/ +" +SRC_URI="http://www.mr511.de/software/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x64-solaris" +IUSE="debug nls" + +RDEPEND="!dev-libs/elfutils" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +DOCS=( ChangeLog README ) + +MULTILIB_WRAPPED_HEADERS=( /usr/include/libelf/sys_elf.h ) + +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + +src_prepare() { + default + + eautoreconf +} + +multilib_src_configure() { + # prefix might want to play with this; unfortunately the stupid + # macro used to detect whether we're building ELF is so screwed up + # that trying to fix it is just a waste of time. + export mr_cv_target_elf=yes + + ECONF_SOURCE="${S}" econf \ + $(use_enable nls) \ + --enable-shared \ + $(use_enable debug) +} + +multilib_src_compile() { + emake AR="$(tc-getAR)" +} + +multilib_src_install() { + emake \ + prefix="${ED}/usr" \ + libdir="${ED}/usr/$(get_libdir)" \ + install \ + install-compat \ + -j1 + + find "${D}" -name '*.la' -o -name '*.a' -delete || die +}