diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-01-18 21:27:55 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-01-18 21:27:55 +0100 |
commit | 3e80258c7f1020dfae14f7548187703fecc9a236 (patch) | |
tree | 1e7017d44a16c43a889d6ed5287ee608de6536b1 /dev-ml | |
parent | dev-ml/ocamlnet: fix when cpp has blanks (diff) | |
download | gentoo-3e80258c7f1020dfae14f7548187703fecc9a236.tar.gz gentoo-3e80258c7f1020dfae14f7548187703fecc9a236.tar.bz2 gentoo-3e80258c7f1020dfae14f7548187703fecc9a236.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
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 |