Install this version:
emerge -a =dev-ml/dune-private-libs-3.20.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/dune-private-libs-3.20.2
Or alternatively:
emerge --autounmask-write -a =dev-ml/dune-private-libs-3.20.2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME="dune-private-libs dyn ordering stdune"
inherit dune edo
DESCRIPTION="Private libraries of Dune"
HOMEPAGE="https://github.com/ocaml/dune"
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/dune-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
RESTRICT="test" # tests in main dune package
DEPEND="dev-ml/csexp:0=[ocamlopt?]"
RDEPEND="${DEPEND}
>=dev-ml/dune-3.20:0=
dev-ml/pp:=[ocamlopt?]"
src_prepare() {
default
# don't use vendored libs
edo rm -rf vendor/csexp
edo rm -rf vendor/pp
}
src_configure() { :; }
src_compile() {
dune-compile ${DUNE_PKG_NAME}
}
Manage flags for this package:
euse -i <flag> -p dev-ml/dune-private-libs |
euse -E <flag> -p dev-ml/dune-private-libs |
euse -D <flag> -p dev-ml/dune-private-libs
dev-ml/csexp:0=[ocamlopt?]
dev-ml/csexp:0=[ocamlopt?] >=dev-ml/dune-3.20:0= dev-ml/pp:=[ocamlopt?]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | dune-private-libs-3.20.2.tar.gz | 3051854 bytes | https://github.com/ocaml/dune/archive/3.20.2.tar.gz |