summaryrefslogtreecommitdiff
path: root/sys-libs/libcxxrt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-09 09:14:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-09 09:14:02 +0000
commitb9ef7cab6264f1838672efbbcb4ba3b3abd5323f (patch)
tree38e677f4a13244ca8ed29a815a0a62f943b430d4 /sys-libs/libcxxrt
parentd37b97a25b8b10f748eead6574b01f893f140b01 (diff)
gentoo resync : 09.12.2017
Diffstat (limited to 'sys-libs/libcxxrt')
-rw-r--r--sys-libs/libcxxrt/Manifest4
-rw-r--r--sys-libs/libcxxrt/libcxxrt-0.0_p20170515.ebuild22
-rw-r--r--sys-libs/libcxxrt/libcxxrt-9999.ebuild16
3 files changed, 37 insertions, 5 deletions
diff --git a/sys-libs/libcxxrt/Manifest b/sys-libs/libcxxrt/Manifest
index ee2ca483a062..d39cc2c02755 100644
--- a/sys-libs/libcxxrt/Manifest
+++ b/sys-libs/libcxxrt/Manifest
@@ -8,6 +8,6 @@ DIST libcxxrt-0.0_p20170515.tar.xz 60488 SHA256 b0549563834ed6eb3a7b78dc2905639c
EBUILD libcxxrt-0.0_p20140322.ebuild 1948 BLAKE2B a442aeb9054cb6cced1f7ec165454541ac35d46dcc23c3a2cb81877166483502f5c3fb110858c14dd613713e73e73a53f2983a178c0f3336f14a972e1477811f SHA512 cd45ca0995e24113b1a14b3a068297f7dd1ae8217e873633429636902c93d4dbe98fa6949df81997c90bc15681442abc34859f179a8320ebbd193269330e63a9
EBUILD libcxxrt-0.0_p20150423-r1.ebuild 2014 BLAKE2B 8d9e607e57b218c4e7e6508832a6826962224c18e5605f9d5598ecb3019dbaa69183c231b288f2b12c341bab6eadf8a72f8d9494e6de065c181a82f6616961c8 SHA512 8f8a7c32b57a66089d1ea88ed09566459a1038437f9df570dda9ec03cdd4fe9412136b8a2bda2a581dfae26624a5697d207a5adb7aaaeb3e740750a9a3785e13
EBUILD libcxxrt-0.0_p20160922.ebuild 2035 BLAKE2B d3aedc1c4e5955824f1e72e545060339df660cf05c0917166a1c4eff9b44774680318f4e0657af6b59a7c5685ff705c9efde834aee4e06f6394c85cf28563e83 SHA512 ce681af3a08dc2d2fdd35009f33e22e5848a14ea072deaa784c8ff303573332f94df7e8dc3ff8c50c130fa5806ac71a7873ffb714b726876be60abe9a8edbac1
-EBUILD libcxxrt-0.0_p20170515.ebuild 2023 BLAKE2B d551338ef434acd8c8971057cf3235a48f1e5df47d724596fd480a6d3e327920f7e4611c8c51452af70b421ae8bbff0d0f10b5c81d4be4b1ed9bd0edfeb3170a SHA512 31a525a44ccf160025631edd907576d520788f01c3c13141c2b3b0afb077bd1eb2a0c214f98f29d3f6f7f8fb28a02107b17a62cc474fa07c4fdf0771716ba08b
-EBUILD libcxxrt-9999.ebuild 2023 BLAKE2B d551338ef434acd8c8971057cf3235a48f1e5df47d724596fd480a6d3e327920f7e4611c8c51452af70b421ae8bbff0d0f10b5c81d4be4b1ed9bd0edfeb3170a SHA512 31a525a44ccf160025631edd907576d520788f01c3c13141c2b3b0afb077bd1eb2a0c214f98f29d3f6f7f8fb28a02107b17a62cc474fa07c4fdf0771716ba08b
+EBUILD libcxxrt-0.0_p20170515.ebuild 2326 BLAKE2B 77fe47b754ccbadcbf95c6a9272651118910b5d02b356b1229d0f6aa738a272310755d6fb809a6cee14f34ff59e7955eba9b541247efc241276333ebceab9fff SHA512 cf66be5eddd69a4ce677acc242c7d53d3417f27f05b257b589bc9601fde5dd34301261553df8c0268f967ac94a4f3332012954006660b517b1ab15af98ca0d46
+EBUILD libcxxrt-9999.ebuild 2319 BLAKE2B 60308d479b27db441a23e94a55acda96e91410bcf5189c64cd073775e9b201b34a6d83fc7f795f695529de6c093e07c1f72d1ee3bc0dd2d3a1fab2dac4269cd3 SHA512 756e662c154d5b0936e6ba2686b15045cffa358e02b938efa28b90cef6031f944d9cd9c7638988d3a1fd97747b34d84c4549c12695a3b23070d2f5076d092187
MISC metadata.xml 772 BLAKE2B 918a0b6a0d5d7c07b86a8157e08d66f1df42d38e74099c3c38a5dcb2757d55637426df7e0b61d893afde5cd15eb9d4ab78920ccde846a781c5e7ee285161f0c1 SHA512 2740f5561f530ec9053c2e3cc1c32af9b11b61d6b9b1e1babc39d135132bd7fbc0670bcdef274408126c9444e93c9e6f964f7c51316cac06b4a64e177263be7a
diff --git a/sys-libs/libcxxrt/libcxxrt-0.0_p20170515.ebuild b/sys-libs/libcxxrt/libcxxrt-0.0_p20170515.ebuild
index 8d68b661f0c3..b64983f176ee 100644
--- a/sys-libs/libcxxrt/libcxxrt-0.0_p20170515.ebuild
+++ b/sys-libs/libcxxrt/libcxxrt-0.0_p20170515.ebuild
@@ -21,11 +21,11 @@ fi
LICENSE="BSD-2"
SLOT="0"
if [ "${PV%9999}" = "${PV}" ] ; then
- KEYWORDS="~amd64 ~arm64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+ KEYWORDS="~amd64 ~arm64 ~mips x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
else
- KEYWORDS=""
+ KEYWORDS="x86"
fi
-IUSE="+libunwind +static-libs"
+IUSE="+libunwind +static-libs test"
RDEPEND="libunwind? ( || ( >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
sys-libs/llvm-libunwind[static-libs?,${MULTILIB_USEDEP}] ) )"
@@ -34,6 +34,22 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS COPYRIGHT README )
+gcc_check() {
+ if tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]] && use test; then
+ eerror "At least gcc-6 is required to run tests. Please switch to a newer"
+ eerror "compiler before proceeding."
+ die "gcc-6 required for tests"
+ fi
+}
+
+pkg_pretend() {
+ gcc_check
+}
+
+pkg_setup() {
+ gcc_check
+}
+
src_prepare() {
cp "${FILESDIR}/Makefile" src/ || die
cp "${FILESDIR}/Makefile.test" test/Makefile || die
diff --git a/sys-libs/libcxxrt/libcxxrt-9999.ebuild b/sys-libs/libcxxrt/libcxxrt-9999.ebuild
index 8d68b661f0c3..1b4a9c67f1f4 100644
--- a/sys-libs/libcxxrt/libcxxrt-9999.ebuild
+++ b/sys-libs/libcxxrt/libcxxrt-9999.ebuild
@@ -34,6 +34,22 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS COPYRIGHT README )
+gcc_check() {
+ if tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]] && use test; then
+ eerror "At least gcc-6 is required to run tests. Please switch to a newer"
+ eerror "compiler before proceeding."
+ die "gcc-6 required for tests"
+ fi
+}
+
+pkg_pretend() {
+ gcc_check
+}
+
+pkg_setup() {
+ gcc_check
+}
+
src_prepare() {
cp "${FILESDIR}/Makefile" src/ || die
cp "${FILESDIR}/Makefile.test" test/Makefile || die