dev-perl/ExtUtils-CppGuess: Bump to version 0.210.0

- Add bodge to src_test to avoid the problems with g++ autoprobe being
  broken with USE="-native-symlinks" for {gcc,binutils}-config, but
  runtime code is possibly broken on some targets :(. See:
   https://github.com/tsee/extutils-cppguess/issues/23

Upstream:
- Add ->iostream_fname, ->cpp_flavour_defs
- pass 'actual' compiler to MB/EUMM generated flags
- Support sun compiler family
- Improve clang detection
- Don't link to -lstdc++ if -static-libstdc++

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-08-20 16:24:28 +12:00
parent f95d4be1a1
commit 8853e9530c
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=ETJ
DIST_VERSION=0.21
inherit perl-module toolchain-funcs
DESCRIPTION="Guess C++ compiler and flags"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-perl/Capture-Tiny
>=virtual/perl-ExtUtils-ParseXS-3.350.0
virtual/perl-File-Spec
virtual/perl-File-Temp
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Path
virtual/perl-Data-Dumper
>=virtual/perl-ExtUtils-CBuilder-0.280.231
virtual/perl-ExtUtils-Manifest
dev-perl/Module-Build
>=virtual/perl-Test-Simple-0.880.0
virtual/perl-autodie
)
"
src_test() {
# https://github.com/tsee/extutils-cppguess/issues/23
tc-export CXX
mkdir -p "${T}/bin" || die "Cant make dir ${T}/bin"
einfo "CXX: ${CXX}"
ln -vs "${EPREFIX}/usr/bin/${CXX}" "${T}/bin/g++" || die "Can't make symlink ${T}/bin/g++"
PATH="${T}/bin:${PATH}" perl-module_src_test
}

View File

@@ -1,2 +1,3 @@
DIST ExtUtils-CppGuess-0.11.tar.gz 6794 BLAKE2B 95372c6ddfabffd72dac9e6a2ab05da1b72f6617f3cb3ed5d63e572c17ad24a225b142df100d052206a103dc0e8d681f19e7ea440cb009b6493093be31f132f2 SHA512 68039779106386efb20cd6e9125d5882e20257f6a1b1f830b32c9f4df70f66a0cf1706f573e4c80159488526656732ede844b37edbf3f1d4a111898eca66fa9e
DIST ExtUtils-CppGuess-0.14.tar.gz 9321 BLAKE2B 450975519064cee93a69a40720b8527d07c3027ad552d90d54bb4ab4afcc84abdfd91f575d0b572867e47bb1006ec9208e4e61031a2d1199626519d97299cdb5 SHA512 a360de614d0191db960b33748c708424bca5faa6faf533fdc8e0187c0bd3573443a430e62891223bdcfad153e582b05a7831be72c5008a5c281ebb611a1d65ed
DIST ExtUtils-CppGuess-0.21.tar.gz 14067 BLAKE2B 35dab476a73c532f2635ebee871dfd4cba593c1e09ed4f9fc18826edb9208208fdcc26a884d3c6ec95db18ceafc83fb8bca1c5c8f6a8caf337795ddde80be6d2 SHA512 e48e4815ac9db4e8bb91de101f1d22aed95c770cf6fa2ea5e38094643fe96bc9fe69b0e5a76ba8aa53a653753f93526edab8b1604d864bb2b3a50223617f84d9