summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-08-20 16:24:28 +1200
committerKent Fredric <kentnl@gentoo.org>2020-08-20 16:24:28 +1200
commit8853e9530c77ebdf13d3594bdee576f048e647d9 (patch)
tree2303a15a9044ad672288ed759504a9be22012bf0 /dev-perl/ExtUtils-CppGuess
parentdev-perl/ExtUtils-F77: Bump to version 1.240.0 (diff)
downloadgentoo-8853e9530c77ebdf13d3594bdee576f048e647d9.tar.gz
gentoo-8853e9530c77ebdf13d3594bdee576f048e647d9.tar.bz2
gentoo-8853e9530c77ebdf13d3594bdee576f048e647d9.zip
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>
Diffstat (limited to 'dev-perl/ExtUtils-CppGuess')
-rw-r--r--dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.210.0.ebuild42
-rw-r--r--dev-perl/ExtUtils-CppGuess/Manifest1
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.210.0.ebuild b/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.210.0.ebuild
new file mode 100644
index 000000000000..feea25b4a034
--- /dev/null
+++ b/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.210.0.ebuild
@@ -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
+}
diff --git a/dev-perl/ExtUtils-CppGuess/Manifest b/dev-perl/ExtUtils-CppGuess/Manifest
index 30185cbb1283..173632770619 100644
--- a/dev-perl/ExtUtils-CppGuess/Manifest
+++ b/dev-perl/ExtUtils-CppGuess/Manifest
@@ -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