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 961C9158087 for ; Sat, 22 Jan 2022 13:51:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7FD1E07D1; Sat, 22 Jan 2022 13:51:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1C0EEE07D0 for ; Sat, 22 Jan 2022 13:51:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E209634335C for ; Sat, 22 Jan 2022 13:51:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B8D6268 for ; Sat, 22 Jan 2022 13:51:48 +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: <1642859496.e79083b37ffeaa5812d4afe37eeb5c69ec4d449a.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlidl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/camlidl/camlidl-1.05-r1.ebuild X-VCS-Directories: dev-ml/camlidl/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: e79083b37ffeaa5812d4afe37eeb5c69ec4d449a X-VCS-Branch: master Date: Sat, 22 Jan 2022 13:51:48 +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: 521ea0b1-9f88-4135-86c8-5521fb255d0d X-Archives-Hash: 26fabc61efd65d066bdb5881bade97fd commit: e79083b37ffeaa5812d4afe37eeb5c69ec4d449a Author: Alfredo Tupone gentoo org> AuthorDate: Sat Jan 22 13:51:36 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sat Jan 22 13:51:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e79083b3 dev-ml/camlidl: do not call ar directly Closes: https://bugs.gentoo.org/723136 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-ml/camlidl/camlidl-1.05-r1.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-ml/camlidl/camlidl-1.05-r1.ebuild b/dev-ml/camlidl/camlidl-1.05-r1.ebuild index 06fafb20cc46..2dfb9b3cf8db 100644 --- a/dev-ml/camlidl/camlidl-1.05-r1.ebuild +++ b/dev-ml/camlidl/camlidl-1.05-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,6 +22,14 @@ PATCHES=( "${FILESDIR}/nowarn.patch" ) +src_prepare() { + sed -i \ + -e "s|ar rc|$(tc-getAR) rc|g" \ + runtime/Makefile.unix \ + || die + default +} + src_compile() { # Use the UNIX makefile libdir=$(ocamlc -where || die) @@ -42,7 +50,7 @@ src_test() { src_install() { libdir=$(ocamlc -where || die) - dodir ${libdir#${EPREFIX}}/caml + dodir "${libdir#${EPREFIX}}"/caml dodir /usr/bin # Install