1 |
dev-zero 10/08/21 10:27:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: STLport-5.2.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #255393), also solves bug #276247 (tests failing), bug #332917 (building with glibc 2.12). |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.74 dev-libs/STLport/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/STLport/ChangeLog?rev=1.74&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/STLport/ChangeLog?rev=1.74&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/STLport/ChangeLog?r1=1.73&r2=1.74 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v |
19 |
retrieving revision 1.73 |
20 |
retrieving revision 1.74 |
21 |
diff -u -r1.73 -r1.74 |
22 |
--- ChangeLog 6 Jan 2010 22:38:20 -0000 1.73 |
23 |
+++ ChangeLog 21 Aug 2010 10:27:12 -0000 1.74 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-libs/STLport |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.73 2010/01/06 22:38:20 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.74 2010/08/21 10:27:12 dev-zero Exp $ |
29 |
+ |
30 |
+*STLport-5.2.1 (21 Aug 2010) |
31 |
+ |
32 |
+ 21 Aug 2010; Tiziano Müller <dev-zero@g.o> +STLport-5.2.1.ebuild: |
33 |
+ Version bump (bug #255393), also solves bug #276247 (tests failing), bug |
34 |
+ #332917 (building with glibc 2.12). |
35 |
|
36 |
06 Jan 2010; Jeroen Roovers <jer@g.o> STLport-5.1.5.ebuild: |
37 |
Marked ~hppa (bug #299937). |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/STLport/STLport-5.2.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/STLport/STLport-5.2.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/STLport/STLport-5.2.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: STLport-5.2.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.2.1.ebuild,v 1.1 2010/08/21 10:27:12 dev-zero Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils versionator toolchain-funcs multilib |
55 |
|
56 |
PATCH_V="1" |
57 |
|
58 |
DESCRIPTION="C++ STL library" |
59 |
HOMEPAGE="http://stlport.sourceforge.net/" |
60 |
SRC_URI="mirror://sourceforge/stlport/${P}.tar.bz2 |
61 |
mirror://gentoo/distfiles/${PN}-patches-${PV}-${PATCH_V}.tbz2" |
62 |
LICENSE="as-is" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
65 |
IUSE="boost debug static static-libs threads" |
66 |
|
67 |
DEPEND="boost? ( >=dev-libs/boost-1.35.0-r5 )" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
pkg_setup() { |
71 |
# make sure OSNAME is not in the environment (bug #305399) |
72 |
unset OSNAME |
73 |
} |
74 |
|
75 |
src_prepare() { |
76 |
EPATCH_SOURCE="${WORKDIR}/patches" |
77 |
EPATCH_SUFFIX="diff" |
78 |
epatch |
79 |
|
80 |
# We have to add this to host.h to make sure |
81 |
# that dependencies of STLport use the same settings |
82 |
cat <<- EOF >> stlport/stl/config/host.h |
83 |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) |
84 |
/* use pthreads for threading */ |
85 |
#define _PTHREADS |
86 |
/* enable largefile support */ |
87 |
#define _FILE_OFFSET_BITS 64 |
88 |
#define _LARGEFILE_SOURCE |
89 |
#define _LARGEFILE64_SOURCE |
90 |
EOF |
91 |
} |
92 |
|
93 |
src_configure() { |
94 |
local myconf |
95 |
|
96 |
if use boost ; then |
97 |
BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")" |
98 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
99 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
100 |
BOOST_INC="/usr/include/boost-${BOOST_VER}" |
101 |
|
102 |
myconf+="--with-boost=${BOOST_INC} --with-system-boost " |
103 |
# make sure user apps (e.g. other packges using STLport) use boost as well |
104 |
sed -i \ |
105 |
-e 'N;N;N;s:/\**\n\(#define _STLP_USE_BOOST_SUPPORT 1\)*\n\*/:\1:' \ |
106 |
stlport/stl/config/user_config.h |
107 |
fi |
108 |
|
109 |
use debug || myconf+="--without-debug " |
110 |
use static-libs && myconf+="--enable-static " |
111 |
use threads || myconf+="--without-thread " |
112 |
use static && myconf+="--use-static-gcc " |
113 |
|
114 |
# It's not an autoconf script |
115 |
./configure \ |
116 |
--prefix=/usr \ |
117 |
--libdir=/usr/$(get_libdir) \ |
118 |
--use-compiler-family=gcc \ |
119 |
${myconf} \ |
120 |
--with-cc="$(tc-getCC)" \ |
121 |
--with-cxx="$(tc-getCXX)" \ |
122 |
--with-extra-cflags="${CFLAGS}" \ |
123 |
--with-extra-cxxflags="${CXXFLAGS}" \ |
124 |
--with-extra-ldflags="${LDFLAGS}" || die "configure failed" |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
# precreate some directories |
129 |
dodir /usr/$(get_libdir) |
130 |
|
131 |
emake DESTDIR="${D}" install || die "emake install failed" |
132 |
|
133 |
dodoc README etc/ChangeLog etc/*.txt doc/*.txt doc/{FAQ,README.utf8} |
134 |
} |
135 |
|
136 |
src_test() { |
137 |
if use static ; then |
138 |
ewarn "Tests don't work when building with USE=static. Skipping..." |
139 |
return |
140 |
fi |
141 |
default |
142 |
} |