summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-11-05 12:02:09 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-11-05 12:02:09 +0000
commit1f25681445fd0dd7ea33e6cec6048c9bc46ce0b4 (patch)
tree97688ba884b4a96ba31ccb33aaf68717846f1a4b /sys-libs/libcxx
parentStable on amd64 x86 and ppc wrt bug#441354. (diff)
downloadhistorical-1f25681445fd0dd7ea33e6cec6048c9bc46ce0b4.tar.gz
historical-1f25681445fd0dd7ea33e6cec6048c9bc46ce0b4.tar.bz2
historical-1f25681445fd0dd7ea33e6cec6048c9bc46ce0b4.zip
bump a new snapshot
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'sys-libs/libcxx')
-rw-r--r--sys-libs/libcxx/ChangeLog8
-rw-r--r--sys-libs/libcxx/Manifest10
-rw-r--r--sys-libs/libcxx/libcxx-0.0_p20121105.ebuild68
3 files changed, 81 insertions, 5 deletions
diff --git a/sys-libs/libcxx/ChangeLog b/sys-libs/libcxx/ChangeLog
index db25edf35101..5b48efb3acd3 100644
--- a/sys-libs/libcxx/ChangeLog
+++ b/sys-libs/libcxx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/libcxx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/ChangeLog,v 1.7 2012/11/01 17:38:32 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/ChangeLog,v 1.8 2012/11/05 12:02:01 aballier Exp $
+
+*libcxx-0.0_p20121105 (05 Nov 2012)
+
+ 05 Nov 2012; Alexis Ballier <aballier@gentoo.org>
+ +libcxx-0.0_p20121105.ebuild:
+ bump a new snapshot
01 Nov 2012; Alexis Ballier <aballier@gentoo.org>
-libcxx-0.0_p20120528.ebuild:
diff --git a/sys-libs/libcxx/Manifest b/sys-libs/libcxx/Manifest
index 168b97ce3d10..6417f70c2b4a 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_p20120911.tar.xz 823440 SHA256 4f447efad242213fc1ff8eace645832c9c1ff674c5d695f42a46b5f0b9daf577 SHA512 b11e7c427adb47533d2c29f8d89962bcebe9f899447cc143ccf01610b2483034b8541ebd29431c7cd5a1fcdf9d333b68afdb8bc4836da9d347b337547ae5d3d8 WHIRLPOOL c4aae7f702acd68098c4311813a2a771cee7dcb7b200b0598a3a4cd337561a82e292c97d11c329a93e57baa6b4126d600840a95898f122bbf4643ac792075d00
+DIST libcxx-0.0_p20121105.tar.xz 824596 SHA256 68d33fa94e02c94014f8ddbed2d818085b5b54ea8eb13e20339f0749f61a59aa SHA512 619aa05bd0273f3f03f0016e5cb5431fc548354a876eea6d95a556c6ce1b23877acf3ff18eabea6c4930946b4cc60a92553c3f2b22c31c436be9b093ace77608 WHIRLPOOL d27f9040d12f0b699388bf103c30447a45810fb7bfd5046c99588696f2f92c9c461769751676be4952805ed768fc7dcc27185f3d1466c4703d1b7e93cf4c96ba
EBUILD libcxx-0.0_p20120911.ebuild 1733 SHA256 c603013a0f97e664cafc61cd1cb2160dae74441af9e9fd8481eb13fbf240249f SHA512 29e3722f8f3d72bd5529e674a6574b72a022d2813497000c8c64bc82882700d3aee48ef29b72036b8086c23094b78876a9f93bceff1d31c4237b236040237aca WHIRLPOOL 5e4bbd22f4b6fa3d45dcd55d191a1883701dfe3846c3eda79b987bbea9cc560f7b1ab3d627f18c07fd9f7010637fd06e72fe98bb0b10278b701e5a4b57ac163b
+EBUILD libcxx-0.0_p20121105.ebuild 1733 SHA256 d0a5dcf2f81b77fa2e9efe07501a3eda7e862960a3f8bf4504cef08219e5631c SHA512 cb2703ca3bc0089a733c91e6a3378eedd5eb5eea680065621a7e342e16bc33f4d87012ed3bbfa3064492eae2cf1ca090a35eb7792e81925cdaf19f287402fe9e WHIRLPOOL 27fa4ccd66b46209c2d059a84160b47ecdaa293989b3cc1a8814ae7d034b511a869f1f2b5bb1422033a068dc1bfd28b5142fec6808d6ba4e348935f88c3e880a
EBUILD libcxx-9999.ebuild 1724 SHA256 eff56f4d7d9c2d02cc8f0e3c341f7d551b0d4f4810787bc14757b44692c89455 SHA512 6fbae2c3346aac2cbacb8938b26df2540a0d21697628f3d397bec27258ffb85a50d6a8fdd206ac3a99e7a5a2c7911594eb373f1ee580ae340986a514879ec225 WHIRLPOOL c3a069418692cb592428d390d115cb0bf1180dc35ae0570b0c350bcb50da01e1ab451b8fe81c749b7b379e0b65011df2f2cac3b36f221b3c4067735175fd6ec2
-MISC ChangeLog 1317 SHA256 87423828f7fa89c05b83ca403cf17484d198688ee9a5aa388142758eb6892827 SHA512 1716fd0b481cb00fee75ffc930f871fba3e9de5391b0de7cf977aaf22d8dc2fafb839ae3e199c09bae5d77e2633e704b9d3eb737abb8713638461a89f1052ec3 WHIRLPOOL aa9c4249f740ebf71e592b393ac856be64e7f19b855c41561e3a3d302d413b841802f5d2607d66feed3ae738f5ecc03ecf7927d299a2b624531908a788eb5660
+MISC ChangeLog 1461 SHA256 70727a53db717136fde408a00ba3d789ae73c92a139640e5ac2ec14011ddc653 SHA512 2adbaff57f2c56e10871bbd9c3650bc68ef2c88711af287f3ad5a9b333d75b20bb51e926bd849a8c1cb923ee1208662d565a661dba63a050be01dd7302c87874 WHIRLPOOL ad624df5c264de72de794c31711f3f5e19b6d4e2807d41834d20da781ec607d273567d6dabf1103467d0fe019376e05ea60c4e1eab2fe5a86131dfd0c2fdb945
MISC metadata.xml 410 SHA256 48dc051fd892bac8c59d3e895dfe7d4935cc15cf461ff95a1b4791e43d529b8d SHA512 2c897f96980ceae69ca10f97993c28d2359a6fb316ac9ff2656af3b933182125ce5eff439f90b9f95d5bcc88bfc9806273266401854b6ecb1e742726dae455a3 WHIRLPOOL 92d8e3f6fd359c1fd25c8a533c5ab4065f22844e8f911ba0545e983b51adf18e39d1a34d633f8b3d001bdfb4c93791a2d3a59fb5e3a355008f79df0216a3d4f6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlCSs5kACgkQvFcC4BYPU0qgwwCdHF/VG+9cb2rBMhVajQgnv6qV
-7Q8An3UDTEstbvRUYFMpQH0GV3vd4Rim
-=RpvV
+iEYEAREIAAYFAlCXqrsACgkQvFcC4BYPU0rQIwCfZXKv+xyJtso7APEJFpCVmb7x
+ZScAn3MlB1NGITVIVnLgzSN0tT6x4upD
+=GOlF
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libcxx/libcxx-0.0_p20121105.ebuild b/sys-libs/libcxx/libcxx-0.0_p20121105.ebuild
new file mode 100644
index 000000000000..6ed787da226f
--- /dev/null
+++ b/sys-libs/libcxx/libcxx-0.0_p20121105.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxx/libcxx-0.0_p20121105.ebuild,v 1.1 2012/11/05 12:02:02 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 ~amd64-fbsd"
+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."
+}