From 2cbded7a0360bf8e5cbd89f3fec827c9040bbc7d Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Tue, 18 Jan 2022 12:35:19 +0100 Subject: 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 --- 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 8976098b07b..135e3afb853 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 8976098b07b..135e3afb853 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!" } -- cgit v1.2.3-18-g5258