1 |
commit: 2cbded7a0360bf8e5cbd89f3fec827c9040bbc7d |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 11:35:19 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 11:35:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbded7a |
7 |
|
8 |
dev-ml/ocamlnet: use toolchain-funcs eclass to get cpp |
9 |
|
10 |
Closes: https://bugs.gentoo.org/751274 |
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/ocamlnet/ocamlnet-4.1.8-r1.ebuild | 5 +++-- |
15 |
dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild | 5 +++-- |
16 |
2 files changed, 6 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild |
19 |
index 8976098b07bc..135e3afb853c 100644 |
20 |
--- a/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild |
21 |
+++ b/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild |
22 |
@@ -1,9 +1,9 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit findlib |
30 |
+inherit findlib toolchain-funcs |
31 |
|
32 |
MY_P=${P/_beta/test} |
33 |
DESCRIPTION="Modules for OCaml application-level Internet protocols" |
34 |
@@ -61,6 +61,7 @@ src_configure() { |
35 |
$(ocamlnet_use_enable tk tcl) \ |
36 |
$(ocamlnet_use_enable zip zip) \ |
37 |
$(ocamlnet_use_with httpd nethttpd) \ |
38 |
+ -cpp $(tc-getPROG CPP cpp) \ |
39 |
|| die "Error: econf failed!" |
40 |
} |
41 |
|
42 |
|
43 |
diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild |
44 |
index 8976098b07bc..135e3afb853c 100644 |
45 |
--- a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild |
46 |
+++ b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild |
47 |
@@ -1,9 +1,9 @@ |
48 |
-# Copyright 1999-2021 Gentoo Authors |
49 |
+# Copyright 1999-2022 Gentoo Authors |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
|
52 |
EAPI=7 |
53 |
|
54 |
-inherit findlib |
55 |
+inherit findlib toolchain-funcs |
56 |
|
57 |
MY_P=${P/_beta/test} |
58 |
DESCRIPTION="Modules for OCaml application-level Internet protocols" |
59 |
@@ -61,6 +61,7 @@ src_configure() { |
60 |
$(ocamlnet_use_enable tk tcl) \ |
61 |
$(ocamlnet_use_enable zip zip) \ |
62 |
$(ocamlnet_use_with httpd nethttpd) \ |
63 |
+ -cpp $(tc-getPROG CPP cpp) \ |
64 |
|| die "Error: econf failed!" |
65 |
} |