summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-01-18 21:27:55 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-01-18 21:27:55 +0100
commit3e80258c7f1020dfae14f7548187703fecc9a236 (patch)
tree1e7017d44a16c43a889d6ed5287ee608de6536b1 /dev-ml/ocamlgraph
parentdev-ml/ocamlnet: fix when cpp has blanks (diff)
downloadgentoo-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/ocamlgraph')
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.8.8-r2.ebuild10
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