mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-ml/mirage-profile: disable xen enable unix
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
<remote-id type="github">mirage/mirage-profile</remote-id>
|
<remote-id type="github">mirage/mirage-profile</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
<use>
|
<use>
|
||||||
<flag name="xen">Adds a Xen MirageOS backend collector</flag>
|
<flag name="unix">Adds a Unix backend collector</flag>
|
||||||
|
<!--<flag name="xen">Adds a Xen MirageOS backend collector</flag>-->
|
||||||
</use>
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
@@ -13,28 +13,35 @@ S="${WORKDIR}/mirage-profile-${PV}"
|
|||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
SLOT="0/${PV}"
|
SLOT="0/${PV}"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="ocamlopt xen"
|
IUSE="ocamlopt unix" # xen
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
dev-ml/mtime
|
dev-ml/cstruct
|
||||||
dev-ml/io-page
|
dev-ml/lwt
|
||||||
dev-ml/ocplib-endian
|
dev-ml/ocplib-endian
|
||||||
|
|
||||||
xen? (
|
unix? ( dev-ml/mtime )
|
||||||
dev-ml/mirage-xen
|
"
|
||||||
dev-ml/xenstore
|
# xen? (
|
||||||
)
|
# dev-ml/io-page[xen]
|
||||||
|
# dev-ml/mirage-xen
|
||||||
|
# dev-ml/mirage-xen-minios
|
||||||
|
# dev-ml/xenstore
|
||||||
|
# )
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
unix? ( dev-ml/cstruct[ppx] )
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
local pkgs="mirage-profile-unix,mirage-profile"
|
local pkgs="mirage-profile-unix"
|
||||||
use xen && pkgs="${pkgs},mirage-profile-xen"
|
# use xen && pkgs="${pkgs},mirage-profile-xen"
|
||||||
|
use unix && pkgs="${pkgs},mirage-profile-unix"
|
||||||
dune build --only-packages "${pkgs}" -j $(makeopts_jobs) --profile release || die
|
dune build --only-packages "${pkgs}" -j $(makeopts_jobs) --profile release || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dune_src_install mirage-profile
|
dune_src_install mirage-profile
|
||||||
dune_src_install mirage-profile-unix
|
use unix && dune_src_install mirage-profile-unix
|
||||||
use xen && dune_src_install mirage-profile-xen
|
# use xen && dune_src_install mirage-profile-xen
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user