dev-ml/ocamlnet: use toolchain-funcs eclass to get cpp

Closes: https://bugs.gentoo.org/751274
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2022-01-18 12:35:19 +01:00
parent 395c494e0c
commit 2cbded7a03
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib
inherit findlib toolchain-funcs
MY_P=${P/_beta/test}
DESCRIPTION="Modules for OCaml application-level Internet protocols"
@@ -61,6 +61,7 @@ src_configure() {
$(ocamlnet_use_enable tk tcl) \
$(ocamlnet_use_enable zip zip) \
$(ocamlnet_use_with httpd nethttpd) \
-cpp $(tc-getPROG CPP cpp) \
|| die "Error: econf failed!"
}
+3 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit findlib
inherit findlib toolchain-funcs
MY_P=${P/_beta/test}
DESCRIPTION="Modules for OCaml application-level Internet protocols"
@@ -61,6 +61,7 @@ src_configure() {
$(ocamlnet_use_enable tk tcl) \
$(ocamlnet_use_enable zip zip) \
$(ocamlnet_use_with httpd nethttpd) \
-cpp $(tc-getPROG CPP cpp) \
|| die "Error: econf failed!"
}