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 BFB99158020 for ; Thu, 22 Dec 2022 19:26:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C911AE07D0; Thu, 22 Dec 2022 19:26:50 +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 AB166E07D0 for ; Thu, 22 Dec 2022 19:26:50 +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 5D869340BC1 for ; Thu, 22 Dec 2022 19:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B44D9771 for ; Thu, 22 Dec 2022 19:26:47 +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: <1671737191.4e215d5f8dadecfffa34eee48c6180c14d99ad8f.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocamlnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild X-VCS-Directories: dev-ml/ocamlnet/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 4e215d5f8dadecfffa34eee48c6180c14d99ad8f X-VCS-Branch: master Date: Thu, 22 Dec 2022 19:26:47 +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: 697ea233-9dab-4f63-92c6-253ca1b9d63b X-Archives-Hash: 7e7322dd0248574c60ba517c16b85b2d commit: 4e215d5f8dadecfffa34eee48c6180c14d99ad8f Author: Alfredo Tupone gentoo org> AuthorDate: Thu Dec 22 19:25:49 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Dec 22 19:26:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e215d5f dev-ml/ocamlnet: get version from $PV Closes: https://bugs.gentoo.org/880945 Signed-off-by: Alfredo Tupone gentoo.org> .../ocamlnet/{ocamlnet-4.1.9.ebuild => ocamlnet-4.1.9-r1.ebuild} | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild similarity index 94% rename from dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild rename to dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild index 6bd4d2437240..0029b1219894 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild @@ -53,6 +53,14 @@ ocamlnet_use_enable() { fi } +src_prepare() { + sed -i \ + -e "s:^version.*$:version=${PV}:" \ + configure \ + || die + default +} + src_configure() { ./configure \ -bindir /usr/bin \