commit: 2cbded7a0360bf8e5cbd89f3fec827c9040bbc7d Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Tue Jan 18 11:35:19 2022 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Tue Jan 18 11:35:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbded7a
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 <AT> gentoo.org> dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild | 5 +++-- dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild index 8976098b07bc..135e3afb853c 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.8-r1.ebuild @@ -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!" } diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild index 8976098b07bc..135e3afb853c 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.9.ebuild @@ -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!" }
