summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-07-26 00:49:00 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-07-26 00:49:00 +0000
commit0126ac67ed170b9028a5e264eb6d11bcfe550c2d (patch)
treecb84c1cb005c54d08a2fe944cf9532bab650576d
parentVersion bump. (diff)
downloadhistorical-0126ac67ed170b9028a5e264eb6d11bcfe550c2d.tar.gz
historical-0126ac67ed170b9028a5e264eb6d11bcfe550c2d.tar.bz2
historical-0126ac67ed170b9028a5e264eb6d11bcfe550c2d.zip
bump a new snapshot with multilib support.
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
-rw-r--r--sys-libs/libcxxrt/ChangeLog8
-rw-r--r--sys-libs/libcxxrt/Manifest10
-rw-r--r--sys-libs/libcxxrt/libcxxrt-0.0_p20130725.ebuild71
3 files changed, 84 insertions, 5 deletions
diff --git a/sys-libs/libcxxrt/ChangeLog b/sys-libs/libcxxrt/ChangeLog
index 13b49d847870..0c8a8ef0e948 100644
--- a/sys-libs/libcxxrt/ChangeLog
+++ b/sys-libs/libcxxrt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libcxxrt
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/ChangeLog,v 1.14 2013/07/03 21:30:05 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/ChangeLog,v 1.15 2013/07/26 00:48:53 aballier Exp $
+
+*libcxxrt-0.0_p20130725 (26 Jul 2013)
+
+ 26 Jul 2013; Alexis Ballier <aballier@gentoo.org>
+ +libcxxrt-0.0_p20130725.ebuild:
+ bump a new snapshot with multilib support.
03 Jul 2013; Alexis Ballier <aballier@gentoo.org> libcxxrt-9999.ebuild:
Go multilib, based on a patch by Yuta SATOH in bug #475294
diff --git a/sys-libs/libcxxrt/Manifest b/sys-libs/libcxxrt/Manifest
index 9eebfc0b4467..030dba5f3a6c 100644
--- a/sys-libs/libcxxrt/Manifest
+++ b/sys-libs/libcxxrt/Manifest
@@ -7,15 +7,17 @@ AUX prepare_snapshot.sh 426 SHA256 113d9ffc9fb7d7232d8ed72cb00121ffafbc11c2076bc
AUX unwind.h 3211 SHA256 fb24810e46a48727b91930c7e2267c521a478c90c9dcacb8c8c0d4e2fae3b9a1 SHA512 323e5b9a16a066501eb51d0974440dc1e4970defdbdbab94feeb44f5e48d66a6cef1e81db7a024ccf4fd8f858fdb9f0c7096a504ec584f4f36097e424e35da40 WHIRLPOOL a1adddc77aa6cf8440e8ff04d9fbe833b15e2609d74eaafefff7211dbd5f8ab6d037651c2ba4df29594d278b0de7893bb86d98209a5ed41d9d412fc05a2bd208
DIST libcxxrt-0.0_p20130218.tar.xz 57444 SHA256 27e4c7dcec3603631fb2ff8d0bf8f1c6dfc32d1c5f460512b630578b90255f77 SHA512 982d7840ecfb31b98ca8b71329bda8ce42396ae19fcd63a2f0fefb78e2a028f31207af0be2c7fbb26cf3f46c040dacdf27bc55bd1a05c7a240db9cee17f2f03a WHIRLPOOL a3eb3a0b5ec672c01d8a06aceceebefa221c20459f9c48f199f0bd0bdff3cdbab1e672673c80e9ca67d4ad757cfd2c6a300d1bc80193c0016eddcdc946e9766f
DIST libcxxrt-0.0_p20130531.tar.xz 57452 SHA256 7e3bb7b3a5b9695b607e520b561e494c3b946f8949e57f4bc151c56056003cde SHA512 d262a9bd6db60667e1b613bbe794b0d12b86bb641f192848e38654125850b05330e2eec0b020c92e7b6a8f45fe829c53e60ceb7e125214491418fc9edcdce2c1 WHIRLPOOL ab32fb4725da712568361c936e0bad1d43014eac80e2224c904a821d6ff66c3e6a4d2c350c704d69d31f7a50f6f1eae7f7ad7d9621b68ff7c823ffe0d36fdfc7
+DIST libcxxrt-0.0_p20130725.tar.xz 57732 SHA256 f2dfac2b8e99b6b213eb0e3b243f4a37cb156b57252d842ed6a99ca2e4d79f18 SHA512 553411508ce21e5684b05896ce5121f60ad2f2fba19fce70cf62f19c1cf9a0422be447d484a6f0ab63f2a5c3f318816e561f4bbf5b5ae5eaa0a674cb15b6f30e WHIRLPOOL 80693ba6263e41826082945833a99f90559c64fdacccf8b02332f87075f1034c39d69207cf04b184ba989437d0d236c8abd142b1f105f6ad530e5cb026453a38
EBUILD libcxxrt-0.0_p20130218.ebuild 1896 SHA256 451195f7a967977d5b55ee137e4a4be1dfa8c9317d50896c6986fd2a929853ad SHA512 50872547d64bc72a218ba6f8f4ab3c2010630cd3e0db0db47247704e891db85cc1dd6b9c91298691a269724954d999dd6279042e1487c73b5b086882a0da6246 WHIRLPOOL e5570749aa66389b6c40376aced751061b2f3ea2e5d6f1c8f24c10e4798dd8ab6d821bfcc4661626aa8b6f379edd6f94365caf02ca5876e4b7da59319ea93ebf
EBUILD libcxxrt-0.0_p20130531.ebuild 1872 SHA256 754bd4f51188d14ce47e0be750ec2e37971e60dbb0872e931eb43b57108ed8e1 SHA512 facc00a9c6322dc4b773ce0cd0730d7695239112bed19424782767ca99f90f40adc0f801f272c472855268a331c080a2e89358106740bb1c74ab9bb3cd769bed WHIRLPOOL b8001993da61e7251f4a9d56ff5ccf6779ea2df6bc764d39949c7b895f47523b485d534145a5da2152b8baa7923cf649a5f6af577ee1dd4b9c7375586f578a72
+EBUILD libcxxrt-0.0_p20130725.ebuild 2053 SHA256 be9184b238f2412055ed91a158688e2f4edd9168090658531e09ddaadbf293fd SHA512 e76d78bae00da07d4ad9213cbb6718134a5cbd4f4c68eb0ecfa605eed9274ad05f3110dc0b62427d9097feb2de9d8b6168b3d0f3e8e10ddc7714372a7ec61fb8 WHIRLPOOL 9026cb337689a5ec0f1103dd265599e7b00dfca7a92fc0d15edec3d3894ee63c17cdcb17ad435e801b061804434a334fd503fabf4f86d49907a7d3bc15a5b4a2
EBUILD libcxxrt-9999.ebuild 2044 SHA256 9abbf25bc19859bdc116cd68cbfcd0aed32841773cd8e12609a5a573aa0f512f SHA512 39f90216d8c4cf580a071e03efa0147baa77c5e1a2db31b796c9cc29223a3ab0cc615c4bbf39a5c60aa793a0ee6b3504e1886e2ec8d27571324a5ca118ea42e6 WHIRLPOOL 3cfdd5983ab78e68a7eb5f0847aef9cbb6921ed25aeb51ddf7fc71551929895c9310531c580c736cc19864d39bbce5cfe8836f790a1f7a8073a1e3cc49757c70
-MISC ChangeLog 2925 SHA256 169b8c07b278099c052b5ffda65bc28613fc4f3fcb942b56c0cfd953143f91c9 SHA512 3fe33a29c3f8773cf3365bbdd366cae0b05e40a7ccab8d1f79e8cb910cc78b0224af425e2dd36901e0718f9d1fbe6fc16dc320eb94fcba8e322c8d1013fb169d WHIRLPOOL e6e64e7db1b518fbce69bff2acb4629e268d4ad0b8869dff9ff7c3b56d2247ed323464caf15008b440ce325a0b49cd9fedff1be5de7f73d4d914d83f8e399876
+MISC ChangeLog 3096 SHA256 6e1bbbb43860c617a82125648d5df5dedd90ac0d1ad2cd45541a534ab14d25d1 SHA512 0bec2c3f37676e19decf89e305233f20aecf12f190290bfcd191800810439db7cf9d1bacc992d2c360c51e97567c261a2d9e9a2ad5f347b06a84f3d7ce464c13 WHIRLPOOL 64198d227b78c129732b01845b8d09ae1bcf712b48fcaf5a7d202241a3373e96acfcf597696048a3488ef280bf6ccf3155d2c39e6f06536bbfebee573b53ab51
MISC metadata.xml 487 SHA256 8555868cad0dd1e415efdfc947d5ad9ccfea5e68d64d8467487480c15bb594ed SHA512 a377efd893dd484c6d99509d0f5c72a81e0ca3f10078e73110cae45acf8142921265d53f540db854ce1d72b558b380dd645b8f7802aac72f9f761ad0d2767e24 WHIRLPOOL d30b16450bbbe1d7fd4120ebe04e461b89d3575e0ac4a3b1e0956c64172a1bcf0bf6637f58f899f4d6c6ad557bffdccec7c9993202ddf79425f5634882c9891f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iEYEAREIAAYFAlHUl94ACgkQvFcC4BYPU0r+RQCcD4hIT8F2rctgqcozPwnebxUw
-bwgAn2CA/qRfZUDqcD1PXDOeB4fOptrB
-=+/O6
+iEYEAREIAAYFAlHxx3YACgkQvFcC4BYPU0q38ACeKB8VPYT4vWByhPUg3fV4EExy
+occAoMWttMaowg3CiSn9bmbXmqdTIi4r
+=b7xu
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libcxxrt/libcxxrt-0.0_p20130725.ebuild b/sys-libs/libcxxrt/libcxxrt-0.0_p20130725.ebuild
new file mode 100644
index 000000000000..db1b4110af00
--- /dev/null
+++ b/sys-libs/libcxxrt/libcxxrt-0.0_p20130725.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/libcxxrt-0.0_p20130725.ebuild,v 1.1 2013/07/26 00:48:53 aballier Exp $
+
+EAPI=5
+
+EGIT_REPO_URI="git://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 http://www.pathscale.com/node/265"
+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 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+else
+ KEYWORDS=""
+fi
+IUSE="libunwind static-libs"
+
+RDEPEND="libunwind? ( >=sys-libs/libunwind-1.0.1-r1[static-libs?] )"
+DEPEND="${RDEPEND}
+ ${DEPEND}"
+
+DOCS=( AUTHORS COPYRIGHT README )
+
+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_32_LIBRARY_PATH="${BUILD_DIR}/src:${LD_32_LIBRARY_PATH}" \
+ LD_LIBRARY_PATH="${BUILD_DIR}/src:${LD_LIBRARY_PATH}" \
+ LIBS="-L${BUILD_DIR}/src -lcxxrt -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() {
+ insinto /usr/include/libcxxrt/
+ doins src/cxxabi.h src/unwind*.h
+}