Skip to content

Commit

Permalink
dev-ml/ocamlbuild: remove some test
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Feb 4, 2021
1 parent 070d1c8 commit 5888d48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DEPEND="${DEPEND}
src_prepare() {
sed -i \
-e "/package_exists/s:camlp4.macro:xxxxxx:" \
-e "/package_exists/s:menhirLib.macro:xxxxxx:" \
-e "/package_exists/s:menhirLib:xxxxxx:" \
testsuite/external.ml || die
default
}
Expand Down
12 changes: 12 additions & 0 deletions dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ PATCHES=(
)

QA_FLAGS_IGNORED='.*'
src_prepare() {
sed -i \
-e "/package_exists/s:camlp4.macro:xxxxxx:" \
-e "/package_exists/s:menhirLib:xxxxxx:" \
testsuite/external.ml || die
default
}

src_configure() {
emake -f configure.make Makefile.config \
Expand All @@ -36,6 +43,11 @@ src_configure() {
NATDYNLINK=$(usex ocamlopt true false)
}

src_compile() {
emake src/ocamlbuild_config.cmo
default
}

src_install() {
emake CHECK_IF_PREINSTALLED=false DESTDIR="${D}" install
dodoc Changes
Expand Down

0 comments on commit 5888d48

Please sign in to comment.