summaryrefslogtreecommitdiff
path: root/sys-libs/libcxxrt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-17 01:16:38 +0000
commit53cba99042fa967e2a93da9f8db806fe2d035543 (patch)
tree9780d3b87dfc6bdebc6b7b7d15af1ecb813c6853 /sys-libs/libcxxrt
parent71deace00d1a2b091313fe137ab7092418c6f87c (diff)
gentoo resync : 17.02.2020
Diffstat (limited to 'sys-libs/libcxxrt')
-rw-r--r--sys-libs/libcxxrt/Manifest7
-rw-r--r--sys-libs/libcxxrt/files/Makefile23
-rw-r--r--sys-libs/libcxxrt/files/Makefile.test7
-rwxr-xr-xsys-libs/libcxxrt/files/prepare_snapshot.sh16
-rw-r--r--sys-libs/libcxxrt/libcxxrt-0.0_p20180311.ebuild88
-rw-r--r--sys-libs/libcxxrt/libcxxrt-9999.ebuild88
-rw-r--r--sys-libs/libcxxrt/metadata.xml18
7 files changed, 0 insertions, 247 deletions
diff --git a/sys-libs/libcxxrt/Manifest b/sys-libs/libcxxrt/Manifest
deleted file mode 100644
index 1985f83904b8..000000000000
--- a/sys-libs/libcxxrt/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX Makefile 513 BLAKE2B 582a1ee9c7cf3f50a3508470e68c987f7566a6b85fd525b9c5649d5c8b6a7463bdd9a11127c1c0d554fe595bfedfb5c260ebfad15bb8619752da7520252afd1c SHA512 acb4b2855ea3912db0d3a26c7f8e7703b865f7e6f17b22a3654d9ac10633fc25fae3ba3995f0f33c106f4eba14ca897e8c6256e339e4d7f1393d8efdee7f4ef4
-AUX Makefile.test 172 BLAKE2B 75bf612ce08664303e4e28d7003e111a28e5ac931940f61768ffe4244e5fd883bc4a8ec5ef3e41537734899353127801004659ab8a6890b0c4fea46b8bba4591 SHA512 fc93c26e4df1c5eca2f99ad3058e2d129fa85a876c9d3d6fcc9e456f397455ebd136b88b3c0ed8d27003dc7a00a985094b6c711fb34316d9fef39e1ab2aadaba
-AUX prepare_snapshot.sh 428 BLAKE2B 5fab8d5ccc8aafbb4c5e9f729dad99b87d45c9973be777d4a77d5fddba280731186ec5075fe79526130ed26396e621e955ee28f1cbc0293b1e19e109b54f363e SHA512 2fc1391df1178a1f6e2e29243731a0630e43718e7e525f95f8dcea3c9909905e86cba1cd9063c396be0a076965b6c3c1cfaac899ba6e30c9cf4f90e237fb5b25
-DIST libcxxrt-0.0_p20180311.tar.xz 60920 BLAKE2B c75bf5bb88e0f5c448a377a7ae58b33444e644c5e4ce7d6e0f5242c4ee61335be6a8b878bcc06f47bb44f9c48895845b174ca398c95aabb90182ebefd3d31815 SHA512 625aa0fab7d54c584faf4cf1e7f8f694776337fc0c6f441683f035743d00e3d18be3339a8ccfc8b61eb07819e4ccf7b1e5f3e7948fd584eefc5d61b200b32d50
-EBUILD libcxxrt-0.0_p20180311.ebuild 2306 BLAKE2B bfafd255e645583a1f22fa9b377d02afd3d4ba6becf4cd66ae91ab34c06a0f823a10a699242db9c8a8b3d9e7462150a003a21b092c65c59c5e88644d4c026361 SHA512 e2856b6029852fa9c67497319688771da68e3579e4064fa6cd2ce1019f04636136ae28b3da69de2c4a182168b5005b621079220e1de801dd63c8255200cb35b1
-EBUILD libcxxrt-9999.ebuild 2287 BLAKE2B 6b9447fe7063b00f5ff9b83048812604524f1993c52d68a21e8952461bfbbcd67b33053f517a87cca908b81cd5c605fbddfa5827db5d76114f6975ca0920b5cf SHA512 b03ecf58b36d2e5c3851f44d94c245af8f318541d277f96464db4749a4cb476ae056311e4b3377ed5c73dc2ee555a73963928503e7bc03526204e35537cb2e35
-MISC metadata.xml 663 BLAKE2B e23670c740126eaef944e0e78026ac1cd79c4a338158cf99a610fda7fc38e74c3206b03b48bcac22f5f268f1620494a9ccd6b01594c06c18f45a01b0054d9cf5 SHA512 a109b71b8c259c0c71de830bcb2397b6f98879e5c00a85bfb46ed89b0ca0b01cb9ec788f41721fd419b2d912a8574c229d4961e7df74e49e3c6cd6801a13bd7a
diff --git a/sys-libs/libcxxrt/files/Makefile b/sys-libs/libcxxrt/files/Makefile
deleted file mode 100644
index 18b90a7cf712..000000000000
--- a/sys-libs/libcxxrt/files/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-LIB=cxxrt
-MAJ=1
-OBJS=dynamic_cast.o exception.o guard.o stdexcept.o typeinfo.o memory.o auxhelper.o libelftc_dem_gnu3.o
-SOBJS=${OBJS:.o=.So}
-
-static: lib$(LIB).a
-
-shared: lib$(LIB).so
-
-%.So: %.cc
- $(CXX) -fPIC $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $<
-
-%.So: %.c
- $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
-
-lib$(LIB).a: $(OBJS)
- $(AR) cr $@ $^
-
-lib$(LIB).so.$(MAJ): $(SOBJS)
- $(CXX) -fPIC -nodefaultlibs $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ $(LIBS)
-
-lib$(LIB).so: lib$(LIB).so.$(MAJ)
- ln -s $< $@
diff --git a/sys-libs/libcxxrt/files/Makefile.test b/sys-libs/libcxxrt/files/Makefile.test
deleted file mode 100644
index 55099426e7b4..000000000000
--- a/sys-libs/libcxxrt/files/Makefile.test
+++ /dev/null
@@ -1,7 +0,0 @@
-OBJS=test.o test_exception.o test_guard.o test_typeinfo.o
-
-cxxrttest: $(OBJS)
- $(CXX) -nodefaultlibs $(CXXFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
-
-check: cxxrttest
- ./cxxrttest
diff --git a/sys-libs/libcxxrt/files/prepare_snapshot.sh b/sys-libs/libcxxrt/files/prepare_snapshot.sh
deleted file mode 100755
index 052076bc3813..000000000000
--- a/sys-libs/libcxxrt/files/prepare_snapshot.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-VERSION=$(date +%Y%m%d)
-BASE_VERSION="0.0"
-PACKAGE="libcxxrt-${BASE_VERSION}_p${VERSION}"
-
-git clone https://github.com/pathscale/libcxxrt.git ${PACKAGE}
-
-find "${PACKAGE}" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
-find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf
-
-tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
-rm -rf ${PACKAGE}/
-
-echo "Tarball: \"${PACKAGE}.tar.xz\""
-
-echo "** all done **"
diff --git a/sys-libs/libcxxrt/libcxxrt-0.0_p20180311.ebuild b/sys-libs/libcxxrt/libcxxrt-0.0_p20180311.ebuild
deleted file mode 100644
index 5f6ec8f7caaa..000000000000
--- a/sys-libs/libcxxrt/libcxxrt-0.0_p20180311.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-EGIT_REPO_URI="https://github.com/pathscale/libcxxrt.git"
-
-[ "${PV%9999}" != "${PV}" ] && SCM="git-2" || SCM=""
-
-inherit flag-o-matic toolchain-funcs portability ${SCM} multilib-minimal
-
-DESCRIPTION="C++ Runtime from PathScale, FreeBSD and NetBSD"
-HOMEPAGE="https://github.com/pathscale/libcxxrt"
-if [ "${PV%9999}" = "${PV}" ] ; then
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- DEPEND="app-arch/xz-utils"
-else
- SRC_URI=""
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-if [ "${PV%9999}" = "${PV}" ] ; then
- KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
-else
- KEYWORDS="amd64 arm arm64 x86"
-fi
-IUSE="+libunwind +static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="libunwind? ( || ( >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
- sys-libs/llvm-libunwind[static-libs?,${MULTILIB_USEDEP}] ) )"
-DEPEND="${RDEPEND}
- ${DEPEND}"
-
-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
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- # Notes: we build -nodefaultlibs to avoid linking to gcc libs.
- # libcxxrt needs: dladdr (dlopen_lib), libunwind or libgcc_s and the libc.
- tc-export CC CXX AR
- append-ldflags "-Wl,-z,defs" # make sure we are not underlinked
- cd "${BUILD_DIR}/src"
- LIBS="$(dlopen_lib) -l$(usex libunwind unwind gcc_s) -lc" emake shared
- use static-libs && emake static
-}
-
-multilib_src_test() {
- cd "${BUILD_DIR}/test"
- LD_LIBRARY_PATH="${BUILD_DIR}/src:${LD_LIBRARY_PATH}" \
- LIBS="-L${BUILD_DIR}/src -lcxxrt -l$(usex libunwind unwind gcc_s) -lc" \
- emake check
-}
-
-multilib_src_install() {
- # TODO: See README. Maybe hide it in a subdir and let only libcxx know about
- # it. FreeBSD head installs it in /lib
- dolib.so src/${PN}.so*
- use static-libs && dolib.a src/${PN}.a
-}
-
-multilib_src_install_all() {
- einstalldocs
- insinto /usr/include/libcxxrt/
- doins src/cxxabi.h src/unwind*.h
-}
diff --git a/sys-libs/libcxxrt/libcxxrt-9999.ebuild b/sys-libs/libcxxrt/libcxxrt-9999.ebuild
deleted file mode 100644
index 2fdf7d613327..000000000000
--- a/sys-libs/libcxxrt/libcxxrt-9999.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-EGIT_REPO_URI="https://github.com/pathscale/libcxxrt.git"
-
-[ "${PV%9999}" != "${PV}" ] && SCM="git-r3" || SCM=""
-
-inherit flag-o-matic toolchain-funcs portability ${SCM} multilib-minimal
-
-DESCRIPTION="C++ Runtime from PathScale, FreeBSD and NetBSD"
-HOMEPAGE="https://github.com/pathscale/libcxxrt"
-if [ "${PV%9999}" = "${PV}" ] ; then
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- DEPEND="app-arch/xz-utils"
-else
- SRC_URI=""
-fi
-
-LICENSE="BSD-2"
-SLOT="0"
-if [ "${PV%9999}" = "${PV}" ] ; then
- KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
-else
- KEYWORDS=""
-fi
-IUSE="+libunwind +static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="libunwind? ( || ( >=sys-libs/libunwind-1.0.1-r1[static-libs?,${MULTILIB_USEDEP}]
- sys-libs/llvm-libunwind[static-libs?,${MULTILIB_USEDEP}] ) )"
-DEPEND="${RDEPEND}
- ${DEPEND}"
-
-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
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- # Notes: we build -nodefaultlibs to avoid linking to gcc libs.
- # libcxxrt needs: dladdr (dlopen_lib), libunwind or libgcc_s and the libc.
- tc-export CC CXX AR
- append-ldflags "-Wl,-z,defs" # make sure we are not underlinked
- cd "${BUILD_DIR}/src"
- LIBS="$(dlopen_lib) -l$(usex libunwind unwind gcc_s) -lc" emake shared
- use static-libs && emake static
-}
-
-multilib_src_test() {
- cd "${BUILD_DIR}/test"
- LD_LIBRARY_PATH="${BUILD_DIR}/src:${LD_LIBRARY_PATH}" \
- LIBS="-L${BUILD_DIR}/src -lcxxrt -l$(usex libunwind unwind gcc_s) -lc" \
- emake check
-}
-
-multilib_src_install() {
- # TODO: See README. Maybe hide it in a subdir and let only libcxx know about
- # it. FreeBSD head installs it in /lib
- dolib.so src/${PN}.so*
- use static-libs && dolib.a src/${PN}.a
-}
-
-multilib_src_install_all() {
- einstalldocs
- insinto /usr/include/libcxxrt/
- doins src/cxxabi.h src/unwind*.h
-}
diff --git a/sys-libs/libcxxrt/metadata.xml b/sys-libs/libcxxrt/metadata.xml
deleted file mode 100644
index cb5673e8a934..000000000000
--- a/sys-libs/libcxxrt/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>aballier@gentoo.org</email>
- <name>Alexis Ballier</name>
- </maintainer>
- <maintainer type="person">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
- <use>
- <flag name="libunwind">Use libunwind instead of libgcc_s for unwinding. This should allow avoiding relying on <pkg>sys-devel/gcc</pkg> but for now clang is setup to use libgcc_s.</flag>
- </use>
- <upstream>
- <remote-id type="github">pathscale/libcxxrt</remote-id>
- </upstream>
-</pkgmetadata>