diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-02-04 13:45:07 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-02-04 13:45:07 +0100 |
commit | 83669d5aa1b936147a19b7340b49492cff698c0b (patch) | |
tree | 95e0f5f13f251aa15ceac9ddb555cfa259bcddc7 /dev-ml/ocamlbuild | |
parent | net-im/skypeforlinux: Version bump to 8.68.0.100 (diff) | |
download | gentoo-83669d5aa1b936147a19b7340b49492cff698c0b.tar.gz gentoo-83669d5aa1b936147a19b7340b49492cff698c0b.tar.bz2 gentoo-83669d5aa1b936147a19b7340b49492cff698c0b.zip |
dev-ml/ocamlbuild: fix test
Closes: https://bugs.gentoo.org/625106
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.ebuild | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild index 524c937beda6..dfaf2d16bd32 100644 --- a/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild +++ b/dev-ml/ocamlbuild/ocamlbuild-0.11.0.ebuild @@ -21,6 +21,14 @@ RDEPEND="${DEPEND} DEPEND="${DEPEND} test? ( dev-ml/findlib )" +src_prepare() { + sed -i \ + -e "/package_exists/s:camlp4.macro:xxxxxx:" \ + -e "/package_exists/s:menhirLib.macro:xxxxxx:" \ + testsuite/external.ml || die + default +} + src_configure() { emake -f configure.make Makefile.config \ PREFIX="${EPREFIX}/usr" \ @@ -31,6 +39,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 |