diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-02-18 14:30:14 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-02-18 14:30:14 +0000 |
commit | db15d84ebabbd75e23cc9159fdfd624f6c45881f (patch) | |
tree | cb9662496c35149a234da5b9d2991bdd0372f02c /sys-libs/libcxx | |
parent | keyword ~amd64-fbsd (diff) | |
download | historical-db15d84ebabbd75e23cc9159fdfd624f6c45881f.tar.gz historical-db15d84ebabbd75e23cc9159fdfd624f6c45881f.tar.bz2 historical-db15d84ebabbd75e23cc9159fdfd624f6c45881f.zip |
bump a new snapshot
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'sys-libs/libcxx')
-rw-r--r-- | sys-libs/libcxx/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/libcxx/Manifest | 10 | ||||
-rw-r--r-- | sys-libs/libcxx/libcxx-0.0_p20130218.ebuild | 68 |
3 files changed, 81 insertions, 5 deletions
diff --git a/sys-libs/libcxx/ChangeLog b/sys-libs/libcxx/ChangeLog index 11c625a15bf9..558d0e8ae6e8 100644 --- a/sys-libs/libcxx/ChangeLog +++ b/sys-libs/libcxx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/libcxx # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/ChangeLog,v 1.10 2013/02/18 13:34:23 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/ChangeLog,v 1.11 2013/02/18 14:30:06 aballier Exp $ + +*libcxx-0.0_p20130218 (18 Feb 2013) + + 18 Feb 2013; Alexis Ballier <aballier@gentoo.org> + +libcxx-0.0_p20130218.ebuild: + bump a new snapshot 18 Feb 2013; Alexis Ballier <aballier@gentoo.org> -libcxx-0.0_p20120911.ebuild: diff --git a/sys-libs/libcxx/Manifest b/sys-libs/libcxx/Manifest index 8517bd3ff9fd..bdb7157f97bf 100644 --- a/sys-libs/libcxx/Manifest +++ b/sys-libs/libcxx/Manifest @@ -5,14 +5,16 @@ AUX cxxrt.patch 1018 SHA256 4792b8c7079c00fef105ff1209591d8ade274cf258b87ac21fad AUX multilib.patch 452 SHA256 16a64b3f0d81da0fc99dcb71cf5f7f75f7bb08c827cd329a1251e21363449d14 SHA512 eb8a023589321e13e24e95a1595578a6f63431f24c67b24ffe49a486ecd05323b6b587dec7c8a822693d618ef1da440432d36cc4d8ed4d8ab31c2288d501b8da WHIRLPOOL 2b522432086ebef6e48745d775dacacf3ed6adb5ec6e572f68b1e70963740b992a020ece95b2801dbbebb2632f297beb06df4eb70840a76615a61380627cf384 AUX prepare_snapshot.sh 427 SHA256 9ebf22257a2e296dee41a56b0a721cd1ba459c620009ca8422ba812515ff726f SHA512 ebac2a467f8b1dfb68f1dc46a35f8294d1cf74b70be2a008217fa13b3366ddf4a9f2ebbe611cd63824f42305c5c0304aac2f46386b2956c9e07d82d5d984b435 WHIRLPOOL 232a60d6a22f50c424ec9cf6f325bbb4e8e96815ba9dffdad0a5b1b872b19d20126d316ced71956978eb5ce098f72584d21104c14e232330b3893a73e4c3c358 DIST libcxx-0.0_p20121105.tar.xz 824596 SHA256 68d33fa94e02c94014f8ddbed2d818085b5b54ea8eb13e20339f0749f61a59aa SHA512 619aa05bd0273f3f03f0016e5cb5431fc548354a876eea6d95a556c6ce1b23877acf3ff18eabea6c4930946b4cc60a92553c3f2b22c31c436be9b093ace77608 WHIRLPOOL d27f9040d12f0b699388bf103c30447a45810fb7bfd5046c99588696f2f92c9c461769751676be4952805ed768fc7dcc27185f3d1466c4703d1b7e93cf4c96ba +DIST libcxx-0.0_p20130218.tar.xz 795520 SHA256 18bb8e4670e97e4e270c153ae7ba5d9861e0b28088db447e124694aee89f800c SHA512 1d3a5a4615e9b2070f1d2f47b4738a59e35aa5ea99bba92761094e90fc8ac382fcb9c2181db201e88cdc5c3c15661ce67314494747e95aba6830d2d94769381e WHIRLPOOL eef2d8ebe21a2f52457f5cf9385df75b9c2f689bbc991e7f82d97b15f0b933ba2bc311f4c0d4ea396ce34e4e971f3480a77fa534f75cce0f19c3a9a7196e83bf EBUILD libcxx-0.0_p20121105.ebuild 1762 SHA256 dc956d012c63b4088d7a80a7c49dbfed04a77e42ef781816c318012b1bff6584 SHA512 5c5b9c7b6ef2978fb9b999c34b9cc04ca789b8b5009fbf16450bedc83932198cd856b90314d88497298da2e98e6ae7ac7631db4c1326d3bba1c7494f74919368 WHIRLPOOL 2983e39296db12a765b3feac0630325a085c7ca500fe3c9ee23108dc27d5e206e1a454c76464ea8d56b508178494d758fd975dba44d076d35ddafb371d1e8149 +EBUILD libcxx-0.0_p20130218.ebuild 1762 SHA256 73ec38dcc52bb2e35172dcb99ae667a976ade6a672b6c6e0e3e503460866b3ae SHA512 57abd59e833f5594b19505363e492efaef70872d0e8e31d8fca1667380f21fe67d266b6b7dab1a6b3aeb906039d93e51081da85b0c43e1f4e1c4f65b3d4d75f7 WHIRLPOOL 94de3f70ba4083e95b85a81d3518c5d0af5655547f389cc87ed917e424b22e671850191efaf3bafc997b8d24c569ec6b39b6d72886c9e75c570d86e451264de8 EBUILD libcxx-9999.ebuild 1753 SHA256 b0876eaaf50e3b64d82fd8fd1ac51c1b9918ea9721857630d5bac84aeb7c78ee SHA512 8089391d25e868f0280fe0961746b928826b74f7853bf65aeed99fcf56259ca965fdd88f9f243c3817abe59b0ced481d36018b70ce25de3110d395f6dbb1bd88 WHIRLPOOL f40a1272ab4f395554f7fc098d1066d0e310641e39e427a968ae75208b4de54b4f169c7452f2ce3617774c03e513d75f076ce87efa767521e3d9f6e53d8eb92a -MISC ChangeLog 1708 SHA256 71217817eb8d2eea3c61bb0c0b1782e5e240baf259018d227719b4b768fe9625 SHA512 6b9ac72c8a4382419c01479a30fcba822210631a248f0c81ee8512b370224c7de44f63524ddcd7b1f3c3dca56fde4be38f8672c5dc150f08d376e5b1939efc15 WHIRLPOOL 94295c3381322eaa8f9d19c8f70b23859bb3072daca5b746340fe7410684c8cc41fd5afd53b6cc21eebe0c1e09a414c1b4e07107f004c7479267c1cf1061db7f +MISC ChangeLog 1852 SHA256 b17be14324219eee57bfba3304d747d29daac85b89a0cb2f5690d970b6a02f85 SHA512 aa71bc12c8ad069eab2ab04cc6e8ac90f66df6bf8047edd7876b4f3f57f8018a21d90068f0b2c1ed3722aeebbf78d42ea019a23abb653cb180b59b9c1a77bc01 WHIRLPOOL f17482ec1211221eac21f8be2ee4119e653ec6097e636fac65207000bccd5d7d283fc331a18d0d8d2aa52232498442c37394408d366ab33e89bdc5c9b05d1192 MISC metadata.xml 410 SHA256 48dc051fd892bac8c59d3e895dfe7d4935cc15cf461ff95a1b4791e43d529b8d SHA512 2c897f96980ceae69ca10f97993c28d2359a6fb316ac9ff2656af3b933182125ce5eff439f90b9f95d5bcc88bfc9806273266401854b6ecb1e742726dae455a3 WHIRLPOOL 92d8e3f6fd359c1fd25c8a533c5ab4065f22844e8f911ba0545e983b51adf18e39d1a34d633f8b3d001bdfb4c93791a2d3a59fb5e3a355008f79df0216a3d4f6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEUEAREIAAYFAlEiLeAACgkQvFcC4BYPU0pIJQCVGKgp+5h184pvkajfRp7FaPVd -pwCeNDE2oAxBiIahg6oWz5KS4s+2TAM= -=X2Nj +iEYEAREIAAYFAlEiOvAACgkQvFcC4BYPU0q2wgCgmfc1KDb+o1NKJAUtLEIJEHMx +LXAAmQHkUx2OCyDPoGi+k+O2lKJbFihF +=dnUd -----END PGP SIGNATURE----- diff --git a/sys-libs/libcxx/libcxx-0.0_p20130218.ebuild b/sys-libs/libcxx/libcxx-0.0_p20130218.ebuild new file mode 100644 index 000000000000..897cdf50796d --- /dev/null +++ b/sys-libs/libcxx/libcxx-0.0_p20130218.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/libcxx-0.0_p20130218.ebuild,v 1.1 2013/02/18 14:30:06 aballier Exp $ + +EAPI=4 + +ESVN_REPO_URI="http://llvm.org/svn/llvm-project/libcxx/trunk" + +[ "${PV%9999}" != "${PV}" ] && SCM="subversion" || SCM="" + +inherit cmake-utils ${SCM} base flag-o-matic + +DESCRIPTION="New implementation of the C++ standard library, targeting C++11" +HOMEPAGE="http://libcxx.llvm.org/" +if [ "${PV%9999}" = "${PV}" ] ; then + SRC_URI="mirror://gentoo/${P}.tar.xz" +else + SRC_URI="" +fi + +LICENSE="|| ( UoI-NCSA MIT )" +SLOT="0" +if [ "${PV%9999}" = "${PV}" ] ; then + KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +else + KEYWORDS="" +fi +IUSE="" + +RDEPEND="sys-libs/libcxxrt" +DEPEND="${RDEPEND} + sys-devel/clang + app-arch/xz-utils" + +PATCHES=( "${FILESDIR}/multilib.patch" + "${FILESDIR}/cxxrt.patch" ) +DOCS=( "CREDITS.TXT" ) + +src_prepare() { + base_src_prepare +} + +src_configure() { + append-cppflags "-I/usr/include/libcxxrt -DLIBCXXRT" + # Needs to be built with clang. gcc-4.6.3 fails at least. + # TODO: cross-compile ? + export CC=clang + export CXX=clang++ + cmake-utils_src_configure +} + +# Tests fail for now, if anybody is able to fix them, help is very welcome. +src_test() { + cd "${S}/test" + LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/lib:${LD_LIBRARY_PATH}" \ + CC="clang++" \ + HEADER_INCLUDE="-I${S}/include" \ + SOURCE_LIB="-L${CMAKE_BUILD_DIR}/lib" \ + ./testit || die +} + +pkg_postinst() { + elog "This package (${PN}) is mainly intended as a replacement for the C++" + elog "standard library when using clang." + elog "To use it, instead of libstdc++, use:" + elog " clang++ -stdlib=libc++" + elog "to compile your C++ programs." +} |