mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-editors/scite: [QA] drop (very) stale GCC version checks
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
@@ -36,24 +36,6 @@ DOCS=("../README")
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-clang ; then
|
||||
# need c++17 features
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(clang-major-version) -lt 5 ]] &&
|
||||
die "Sorry, SCiTE uses C++17 Features and needs >sys-devel/clang-5
|
||||
($(clang-major-version))."
|
||||
|
||||
elif tc-is-gcc; then
|
||||
# older gcc is not supported
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(gcc-major-version) -lt 7 ]] &&
|
||||
die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
|
||||
else
|
||||
die "Either gcc or clang should be configured for building scite"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -36,24 +36,6 @@ DOCS=("../README")
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-clang ; then
|
||||
# need c++17 features
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(clang-major-version) -lt 5 ]] &&
|
||||
die "Sorry, SCiTE uses C++17 Features and needs >sys-devel/clang-5
|
||||
($(clang-major-version))."
|
||||
|
||||
elif tc-is-gcc; then
|
||||
# older gcc is not supported
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(gcc-major-version) -lt 7 ]] &&
|
||||
die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
|
||||
else
|
||||
die "Either gcc or clang should be configured for building scite"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -36,24 +36,6 @@ DOCS=("../README")
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
pkg_pretend() {
|
||||
if tc-is-clang ; then
|
||||
# need c++17 features
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(clang-major-version) -lt 5 ]] &&
|
||||
die "Sorry, SCiTE uses C++17 Features and needs >sys-devel/clang-5
|
||||
($(clang-major-version))."
|
||||
|
||||
elif tc-is-gcc; then
|
||||
# older gcc is not supported
|
||||
[[ "${MERGE_TYPE}" != "binary" &&
|
||||
$(gcc-major-version) -lt 7 ]] &&
|
||||
die "Sorry, Scite uses C++17 Features, need >sys-devel/gcc-7."
|
||||
else
|
||||
die "Either gcc or clang should be configured for building scite"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user