1 |
aballier 14/03/22 11:33:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libcxxrt-0.0_p20140322.ebuild |
5 |
Log: |
6 |
bump a new snapshot |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 sys-libs/libcxxrt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcxxrt/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcxxrt/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcxxrt/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 5 Jan 2014 11:37:17 -0000 1.21 |
24 |
+++ ChangeLog 22 Mar 2014 11:33:31 -0000 1.22 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-libs/libcxxrt |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/ChangeLog,v 1.21 2014/01/05 11:37:17 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/ChangeLog,v 1.22 2014/03/22 11:33:31 aballier Exp $ |
30 |
+ |
31 |
+*libcxxrt-0.0_p20140322 (22 Mar 2014) |
32 |
+ |
33 |
+ 22 Mar 2014; Alexis Ballier <aballier@g.o> |
34 |
+ +libcxxrt-0.0_p20140322.ebuild: |
35 |
+ bump a new snapshot |
36 |
|
37 |
05 Jan 2014; Naohiro Aota <naota@g.o> libcxxrt-0.0_p20131222.ebuild: |
38 |
Add ~x86-fbsd. #482820 |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-libs/libcxxrt/libcxxrt-0.0_p20140322.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcxxrt/libcxxrt-0.0_p20140322.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/libcxxrt/libcxxrt-0.0_p20140322.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: libcxxrt-0.0_p20140322.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcxxrt/libcxxrt-0.0_p20140322.ebuild,v 1.1 2014/03/22 11:33:31 aballier Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
EGIT_REPO_URI="git://github.com/pathscale/libcxxrt.git" |
56 |
|
57 |
[ "${PV%9999}" != "${PV}" ] && SCM="git-2" || SCM="" |
58 |
|
59 |
inherit flag-o-matic toolchain-funcs portability ${SCM} multilib-minimal |
60 |
|
61 |
DESCRIPTION="C++ Runtime from PathScale, FreeBSD and NetBSD." |
62 |
HOMEPAGE="https://github.com/pathscale/libcxxrt http://www.pathscale.com/node/265" |
63 |
if [ "${PV%9999}" = "${PV}" ] ; then |
64 |
SRC_URI="mirror://gentoo/${P}.tar.xz" |
65 |
DEPEND="app-arch/xz-utils" |
66 |
else |
67 |
SRC_URI="" |
68 |
fi |
69 |
|
70 |
LICENSE="BSD-2" |
71 |
SLOT="0" |
72 |
if [ "${PV%9999}" = "${PV}" ] ; then |
73 |
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
74 |
else |
75 |
KEYWORDS="" |
76 |
fi |
77 |
IUSE="libunwind static-libs" |
78 |
|
79 |
RDEPEND="libunwind? ( >=sys-libs/libunwind-1.0.1-r1[static-libs?] )" |
80 |
DEPEND="${RDEPEND} |
81 |
${DEPEND}" |
82 |
|
83 |
DOCS=( AUTHORS COPYRIGHT README ) |
84 |
|
85 |
src_prepare() { |
86 |
cp "${FILESDIR}/Makefile" src/ || die |
87 |
cp "${FILESDIR}/Makefile.test" test/Makefile || die |
88 |
multilib_copy_sources |
89 |
} |
90 |
|
91 |
multilib_src_compile() { |
92 |
# Notes: we build -nodefaultlibs to avoid linking to gcc libs. |
93 |
# libcxxrt needs: dladdr (dlopen_lib), libunwind or libgcc_s and the libc. |
94 |
tc-export CC CXX AR |
95 |
append-ldflags "-Wl,-z,defs" # make sure we are not underlinked |
96 |
cd "${BUILD_DIR}/src" |
97 |
LIBS="$(dlopen_lib) -l$(usex libunwind unwind gcc_s) -lc" emake shared |
98 |
use static-libs && emake static |
99 |
} |
100 |
|
101 |
multilib_src_test() { |
102 |
cd "${BUILD_DIR}/test" |
103 |
LD_LIBRARY_PATH="${BUILD_DIR}/src:${LD_LIBRARY_PATH}" \ |
104 |
LIBS="-L${BUILD_DIR}/src -lcxxrt -l$(usex libunwind unwind gcc_s) -lc" \ |
105 |
emake check |
106 |
} |
107 |
|
108 |
multilib_src_install() { |
109 |
# TODO: See README. Maybe hide it in a subdir and let only libcxx know about |
110 |
# it. FreeBSD head installs it in /lib |
111 |
dolib.so src/${PN}.so* |
112 |
use static-libs && dolib.a src/${PN}.a |
113 |
} |
114 |
|
115 |
multilib_src_install_all() { |
116 |
einstalldocs |
117 |
insinto /usr/include/libcxxrt/ |
118 |
doins src/cxxabi.h src/unwind*.h |
119 |
} |