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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8E3D158094 for ; Thu, 6 Oct 2022 07:40:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE852E0951; Thu, 6 Oct 2022 07:40:30 +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 9F97BE0951 for ; Thu, 6 Oct 2022 07:40:30 +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 9BC2E340831 for ; Thu, 6 Oct 2022 07:40:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09D735B5 for ; Thu, 6 Oct 2022 07:40:28 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1665041993.db8582ae9b97d4c580b562f1b1df063abced7b1a.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnatmem/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/gnatmem/gnatmem-2021-r1.ebuild X-VCS-Directories: dev-ada/gnatmem/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: db8582ae9b97d4c580b562f1b1df063abced7b1a X-VCS-Branch: master Date: Thu, 6 Oct 2022 07:40:28 +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: 630e340b-5cc0-4abf-857f-9e28d2cf1662 X-Archives-Hash: 1466951b15159e15b42e31545a6b8a2c commit: db8582ae9b97d4c580b562f1b1df063abced7b1a Author: Alfredo Tupone gentoo org> AuthorDate: Thu Oct 6 07:39:53 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Oct 6 07:39:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8582ae dev-ada/gnatmem: add gcc_12_2_0 Signed-off-by: Alfredo Tupone gentoo.org> dev-ada/gnatmem/gnatmem-2021-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dev-ada/gnatmem/gnatmem-2021-r1.ebuild b/dev-ada/gnatmem/gnatmem-2021-r1.ebuild new file mode 100644 index 000000000000..c59e1d1f75a3 --- /dev/null +++ b/dev-ada/gnatmem/gnatmem-2021-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_202{0..1} gcc_12_2_0 ) +inherit ada multiprocessing autotools + +MYP=${P}-${PV}0518-19F7B-src +ID=3ddb98c0c8854dc7631bebd673ac7bc53038d4b7 +ADAMIRROR=https://community.download.adacore.com/v1 + +DESCRIPTION="Monitors dynamic allocation and deallocation activity in a program" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI="${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}] + sys-libs/binutils-libs:=" + +REQUIRED_USE="${ADA_REQUIRED_USE}" + +S="${WORKDIR}"/${MYP} + +PATCHES=( + "${FILESDIR}"/${PN}-2018-gentoo.patch +) + +src_prepare() { + default + mv configure.in configure.ac + eautoreconf +} + +src_compile() { + gprbuild -v -p -Pgnatmem.gpr -j$(makeopts_jobs) \ + -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ + -largs ${LDFLAGS} \ + || die +} + +src_install() { + dobin obj/gnatmem +}