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