summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-02-04 19:56:42 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-02-04 19:56:42 +0100
commit5888d48fd18eb1fa1cefc88aaa495f23951ffdf4 (patch)
tree276f10050a06166f11a74323948cad35b2211e75 /dev-ml/ocamlbuild
parentdev-lang/php: bump to v7.3.27 (diff)
downloadgentoo-5888d48fd18eb1fa1cefc88aaa495f23951ffdf4.tar.gz
gentoo-5888d48fd18eb1fa1cefc88aaa495f23951ffdf4.tar.bz2
gentoo-5888d48fd18eb1fa1cefc88aaa495f23951ffdf4.zip
dev-ml/ocamlbuild: remove some test
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/ocamlbuild')
-rw-r--r--dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild2
-rw-r--r--dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild12
2 files changed, 13 insertions, 1 deletions
diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
index dfaf2d16bd32..13bf43e48525 100644
--- a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
+++ b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild
@@ -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
}
diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
index 8ec83d02e236..cdd908c12d72 100644
--- a/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
+++ b/dev-ml/ocamlbuild/ocamlbuild-0.14.0-r1.ebuild
@@ -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 \
@@ -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