dev-perl/Search-Xapian: don't call tc-getCXX in global scope

Closes: https://bugs.gentoo.org/593366
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-03-10 22:33:12 +00:00
parent f57310b345
commit b1fbfa633e
4 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -27,7 +27,10 @@ DEPEND="${RDEPEND}
DIST_TEST=do
# parallel fails sometimes...
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
src_configure() {
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
perl-module_src_configure
}
src_install() {
perl-module_src_install

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
DIST_TEST=do
# parallel fails sometimes...
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
src_configure() {
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
perl-module_src_configure
}
src_install() {
perl-module_src_install

View File

@@ -23,7 +23,10 @@ DEPEND="${RDEPEND}
DIST_TEST=do
# parallel fails sometimes...
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
src_configure() {
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
perl-module_src_configure
}
src_install() {
perl-module_src_install

View File

@@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
DIST_TEST=do
# parallel fails sometimes...
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
src_configure() {
myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
perl-module_src_configure
}
src_install() {
perl-module_src_install