public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/num/
Date: Tue,  9 Mar 2021 20:43:37 +0000 (UTC)	[thread overview]
Message-ID: <1615322607.a885177a3e3c7bd8379a8b128ed77819a1cd1fa4.sam@gentoo> (raw)

commit:     a885177a3e3c7bd8379a8b128ed77819a1cd1fa4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 20:42:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 20:43:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a885177a

dev-ml/num: fix installation

Thanks-to: Jesús P Rey (Chuso) <gentoo <AT> chuso.net>
Closes: https://bugs.gentoo.org/775119
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/num/{num-1.4.ebuild => num-1.4-r1.ebuild} | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-ml/num/num-1.4.ebuild b/dev-ml/num/num-1.4-r1.ebuild
similarity index 73%
rename from dev-ml/num/num-1.4.ebuild
rename to dev-ml/num/num-1.4-r1.ebuild
index babd9330a77..1221bd84c22 100644
--- a/dev-ml/num/num-1.4.ebuild
+++ b/dev-ml/num/num-1.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit dune
+inherit dune findlib
 
 DESCRIPTION="Library for arbitrary-precision integer and rational arithmetic"
 HOMEPAGE="https://github.com/ocaml/num"
@@ -13,3 +13,12 @@ LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
 IUSE="+ocamlopt"
+
+src_compile() {
+	emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+	findlib_src_preinst
+	OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}"
+}


             reply	other threads:[~2021-03-09 20:43 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 20:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-15 15:25 [gentoo-commits] repo/gentoo:master commit in: dev-ml/num/ Arthur Zamarin
2024-10-15 15:25 Arthur Zamarin
2024-07-30  5:07 Alfredo Tupone
2024-06-28 21:05 Alfredo Tupone
2024-06-28 21:04 Alfredo Tupone
2024-05-31  6:04 Alfredo Tupone
2022-12-04 21:20 Alfredo Tupone
2022-01-07 20:22 Alfredo Tupone
2021-11-07  1:25 Sam James
2021-10-07  1:45 Sam James
2021-06-13 20:25 Sam James
2021-06-13 18:31 Alfredo Tupone
2021-06-13  8:13 Alfredo Tupone
2021-04-19  0:23 Sam James
2021-04-18  6:48 Sam James
2021-04-18  6:47 Sam James
2021-04-18  6:45 Sam James
2021-04-18  6:44 Sam James
2021-04-18  6:44 Sam James
2021-03-13 15:26 Sam James
2021-03-13 14:05 Sam James
2021-03-09 22:08 Sam James
2021-03-09 22:08 Sam James
2021-03-04 14:28 Agostino Sarubbo
2021-02-25 17:54 Sam James
2021-02-25 13:09 Sam James
2021-02-08  8:00 Sam James
2021-01-14  6:34 Alfredo Tupone
2021-01-06 19:35 Fabian Groffen
2020-05-18 13:02 Agostino Sarubbo
2020-05-18 12:55 Agostino Sarubbo
2020-04-07 18:41 Alfredo Tupone
2020-01-13 20:43 Alfredo Tupone
2020-01-07 21:01 Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615322607.a885177a3e3c7bd8379a8b128ed77819a1cd1fa4.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox