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/opam-installer/
Date: Sat,  6 Nov 2021 03:40:16 +0000 (UTC)	[thread overview]
Message-ID: <1636169989.c44d34624a40c83f5e775678e4f080b604326a99.sam@gentoo> (raw)

commit:     c44d34624a40c83f5e775678e4f080b604326a99
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  6 03:39:49 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 03:39:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c44d3462

dev-ml/opam-installer: fix 2.0.10

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/opam-installer/opam-installer-2.0.10.ebuild | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/dev-ml/opam-installer/opam-installer-2.0.10.ebuild b/dev-ml/opam-installer/opam-installer-2.0.10.ebuild
index 1ea426a6380..a2b88905a29 100644
--- a/dev-ml/opam-installer/opam-installer-2.0.10.ebuild
+++ b/dev-ml/opam-installer/opam-installer-2.0.10.ebuild
@@ -6,21 +6,20 @@ EAPI=7
 # We are opam
 OPAM_INSTALLER_DEP=" "
 OPAM_SKIP_VALIDATION=yes
-inherit dune
+inherit opam
 
 DESCRIPTION="Core installer for opam packages"
 HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
 SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
 S="${WORKDIR}/opam-full-${PV/_/-}"
-OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer"
+OPAM_INSTALLER="${S}/opam-installer"
 
 LICENSE="LGPL-2.1"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+ocamlopt"
 
-PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )
+# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
+PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
 
 RDEPEND="
 	>=dev-lang/ocaml-4.02.3
@@ -38,3 +37,10 @@ src_configure() {
 		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
 		--mandir="${EPREFIX}/usr/share/man"
 }
+
+src_compile() {
+	sed -e 's/DUNE = .*$/DUNE = /' -i Makefile.config
+	#passing -jX to the dune build leads to errors
+	#see: https://github.com/ocaml/opam/issues/3585
+	emake DUNE_PROMOTE_ARG="" -j1
+}


             reply	other threads:[~2021-11-06  3:40 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06  3:40 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 12:41 [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/ Alfredo Tupone
2024-10-14 19:57 Alfredo Tupone
2024-09-02  7:29 Arthur Zamarin
2024-08-23 13:00 Arthur Zamarin
2024-08-18 17:47 Sam James
2024-08-18 17:47 Sam James
2024-08-18 17:47 Sam James
2024-07-19 16:55 Alfredo Tupone
2024-07-18  6:07 Alfredo Tupone
2024-07-15 10:06 Alfredo Tupone
2024-01-19 23:08 Ionen Wolkens
2023-12-22  5:07 Sam James
2023-05-13 19:46 Alfredo Tupone
2023-03-17 11:47 Arthur Zamarin
2023-03-17 11:32 Arthur Zamarin
2023-03-17 11:32 Arthur Zamarin
2023-03-17 11:32 Arthur Zamarin
2023-03-17 11:32 Arthur Zamarin
2023-03-03 21:16 Alfredo Tupone
2023-02-23 23:38 Sam James
2022-07-23 23:52 Sam James
2022-06-21  1:53 Sam James
2022-02-01  9:37 Alfredo Tupone
2022-01-18 12:24 Sam James
2022-01-13 20:25 Arthur Zamarin
2022-01-13  6:34 Sam James
2022-01-11  0:45 Sam James
2022-01-10 20:07 Arthur Zamarin
2022-01-10 19:56 Arthur Zamarin
2021-11-06  3:36 Sam James
2021-11-06  3:36 Sam James
2021-10-14  9:44 Sam James
2021-10-03  7:11 Sam James
2021-10-02 21:25 Sam James
2021-10-02 19:16 Sam James
2021-10-02 19:16 Sam James
2021-10-02 19:16 Sam James
2021-10-02 19:16 Sam James
2021-07-29  6:45 Agostino Sarubbo
2021-07-28  2:38 Sam James
2021-07-28  1:48 Sam James
2021-06-29 18:24 Alfredo Tupone
2021-05-10 15:20 Alfredo Tupone
2021-03-15  4:02 Sam James
2021-03-15  3:47 Sam James
2021-03-14  1:20 Sam James
2021-03-14  0:48 Sam James
2021-03-13 14:05 Sam James
2021-03-04 14:28 Agostino Sarubbo
2021-02-11  6:31 Sam James
2021-02-11  6:26 Sam James
2021-02-10 18:53 Sam James
2021-02-10 16:33 Sam James
2021-02-09 19:56 Sam James
2021-02-08 17:21 Sam James
2021-02-08 17:21 Sam James
2021-01-27 18:25 Alfredo Tupone

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=1636169989.c44d34624a40c83f5e775678e4f080b604326a99.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