Diff ExtUtils-CppGuess-0.230.0 with a ExtUtils-CppGuess-0.260.0

/usr/portage/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.260.0.ebuild 2023-10-09 14:52:29.860368359 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6 6
DIST_AUTHOR=ETJ
7
DIST_VERSION=0.23
8
inherit perl-module toolchain-funcs
7
DIST_VERSION=0.26
8
inherit perl-module
9 9

  
10 10
DESCRIPTION="Guess C++ compiler and flags"
11 11

  
......
18 18
	virtual/perl-File-Spec
19 19
	virtual/perl-File-Temp
20 20
"
21
BDEPEND="${RDEPEND}
21
BDEPEND="
22
	${RDEPEND}
22 23
	virtual/perl-ExtUtils-MakeMaker
23 24
	test? (
24 25
		virtual/perl-File-Path
25
		virtual/perl-Data-Dumper
26 26
		>=virtual/perl-ExtUtils-CBuilder-0.280.231
27 27
		virtual/perl-ExtUtils-Manifest
28 28
		dev-perl/Module-Build
29 29
		>=virtual/perl-Test-Simple-0.880.0
30 30
	)
31 31
"
32

  
33
src_test() {
34
	# https://github.com/tsee/extutils-cppguess/issues/23
35
	tc-export CXX
36
	mkdir -p "${T}/bin" || die "Cant make dir ${T}/bin"
37
	einfo "CXX: ${CXX}"
38
	ln -vs "${EPREFIX}/usr/bin/${CXX}" "${T}/bin/g++" || die "Can't make symlink ${T}/bin/g++"
39
	PATH="${T}/bin:${PATH}" perl-module_src_test
40
}
Thank you!