commit: 3e80258c7f1020dfae14f7548187703fecc9a236 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Jan 18 20:27:55 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Jan 18 20:27:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e80258c
dev-ml/ocamlgraph: lablgtk is no more automagically discovered Closes: https://bugs.gentoo.org/750263 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild index a395027a55ff..feae626b35f7 100644 --- a/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild +++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,6 +21,14 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="doc? ( dev-tex/hevea dev-ml/ocamlweb )" +src_configure() { + sed -i \ + -e "s:@LABLGNOMECANVAS@:$(usex gtk):g" \ + Makefile.in || die + + default +} + src_compile() { emake byte use ocamlopt && emake opt
