1 |
dev-zero 07/09/25 20:22:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: STLport-5.1.3.ebuild |
5 |
Removed: STLport-5.0.3.ebuild STLport-5.1.0.ebuild |
6 |
Log: |
7 |
Version bump (bug #185896), dropped old versions and patches. Added LFS defines to host.h (together with some more, bug #182736). |
8 |
(Portage version: 2.1.3.9) |
9 |
|
10 |
Revision Changes Path |
11 |
1.64 dev-libs/STLport/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/STLport/ChangeLog?rev=1.64&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/STLport/ChangeLog?rev=1.64&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/STLport/ChangeLog?r1=1.63&r2=1.64 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v |
20 |
retrieving revision 1.63 |
21 |
retrieving revision 1.64 |
22 |
diff -u -r1.63 -r1.64 |
23 |
--- ChangeLog 23 Jul 2007 13:32:05 -0000 1.63 |
24 |
+++ ChangeLog 25 Sep 2007 20:22:27 -0000 1.64 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for dev-libs/STLport |
27 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.63 2007/07/23 13:32:05 gustavoz Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.64 2007/09/25 20:22:27 dev-zero Exp $ |
30 |
+ |
31 |
+*STLport-5.1.3 (25 Sep 2007) |
32 |
+ |
33 |
+ 25 Sep 2007; Tiziano Müller <dev-zero@g.o> |
34 |
+ -files/STLport-5.0.2-gcc41.patch, -files/STLport-5.0.3-ppc.patch, |
35 |
+ -files/STLport-5.0.3-sparc.patch, -files/STLport-5.1.0-ppc.patch, |
36 |
+ -files/STLport-5.1.0-wrong_russian_currency_name.patch, |
37 |
+ -STLport-5.0.3.ebuild, -STLport-5.1.0.ebuild, +STLport-5.1.3.ebuild: |
38 |
+ Version bump (bug #185896), dropped old versions and patches. Added LFS |
39 |
+ defines to host.h (together with some more, bug #182736). |
40 |
|
41 |
23 Jul 2007; Gustavo Zacarias <gustavoz@g.o> STLport-5.1.2.ebuild: |
42 |
Stable on sparc |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-libs/STLport/STLport-5.1.3.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/STLport/STLport-5.1.3.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/STLport/STLport-5.1.3.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: STLport-5.1.3.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2007 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.1.3.ebuild,v 1.1 2007/09/25 20:22:27 dev-zero Exp $ |
56 |
|
57 |
inherit eutils versionator eutils toolchain-funcs multilib flag-o-matic |
58 |
|
59 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
60 |
|
61 |
DESCRIPTION="C++ STL library" |
62 |
HOMEPAGE="http://stlport.sourceforge.net/" |
63 |
SRC_URI="mirror://sourceforge/stlport/${P}.tar.bz2" |
64 |
LICENSE="as-is" |
65 |
SLOT="0" |
66 |
IUSE="boost" |
67 |
|
68 |
DEPEND="boost? ( dev-libs/boost )" |
69 |
RDEPEND="${RDEPEND}" |
70 |
|
71 |
src_unpack() { |
72 |
unpack ${A} |
73 |
cd "${S}" |
74 |
|
75 |
epatch "${FILESDIR}/${PN}-5.1.2-fix_bashism.patch" |
76 |
|
77 |
sed -i \ |
78 |
-e 's/\(OPT += \)-O2/\1/' \ |
79 |
build/Makefiles/gmake/*cc.mak \ |
80 |
|| die "sed opts failed" |
81 |
|
82 |
sed -i \ |
83 |
-e 's/_STLP_VENDOR_CSTD::wcsftime/::wcsftime/' \ |
84 |
stlport/stl/_cwchar.h || die "sed failed" |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
# We have to add this to host.h to make sure |
89 |
# that dependencies of STLport use the same settings |
90 |
cat <<- EOF >> stlport/stl/config/host.h |
91 |
#define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) |
92 |
/* use pthreads for threading */ |
93 |
#define _PTHREADS |
94 |
/* enable largefile support */ |
95 |
#define _FILE_OFFSET_BITS 64 |
96 |
#define _LARGEFILE_SOURCE |
97 |
#define _LARGEFILE64_SOURCE |
98 |
EOF |
99 |
|
100 |
sed -i \ |
101 |
-e "s|\(CC :=\) gcc|\1 $(tc-getCC)|" \ |
102 |
-e "s|\(CXX :=\) c++|\1 $(tc-getCXX)|" \ |
103 |
-e "s|^\(CFLAGS = \)|\1 ${CFLAGS} |" \ |
104 |
-e "s|^\(CCFLAGS = \)|\1 ${CFLAGS} |" \ |
105 |
-e "s|^\(CPPFLAGS = \)|\1 ${CPPFLAGS} |" \ |
106 |
build/Makefiles/gmake/gcc.mak || die "sed failed" |
107 |
|
108 |
local myconf |
109 |
if use boost ; then |
110 |
myconf="${myconf} --with-boost=/usr/include" |
111 |
sed -i \ |
112 |
-e 'N;N;N;s:/\**\n\(#define _STLP_USE_BOOST_SUPPORT 1\)*\n\*/:\1:' \ |
113 |
stlport/stl/config/user_config.h |
114 |
fi |
115 |
|
116 |
cd "${S}/build/lib" |
117 |
|
118 |
# It's not an autoconf script |
119 |
./configure \ |
120 |
${myconf} \ |
121 |
--with-extra-cxxflags="${CXXFLAGS}" || die "configure failed" |
122 |
|
123 |
cd "${S}" |
124 |
|
125 |
cat <<- EOF >> build/Makefiles/config.mak |
126 |
CFLAGS := ${CFLAGS} |
127 |
EOF |
128 |
|
129 |
local targets |
130 |
targets="all-shared all-static" |
131 |
|
132 |
# The build-system is broken in respect to parallel builds, bug #161881 |
133 |
emake \ |
134 |
-j1 \ |
135 |
-C build/lib \ |
136 |
-f gcc.mak \ |
137 |
depend ${targets} || die "Compile failed" |
138 |
|
139 |
} |
140 |
|
141 |
src_install() { |
142 |
emake -C build/lib -f gcc.mak install |
143 |
dolib.so lib/* |
144 |
|
145 |
emake -C build/lib -f gcc.mak install-static |
146 |
dolib.a lib/*.a |
147 |
|
148 |
insinto /usr/include |
149 |
doins -r stlport |
150 |
|
151 |
dodoc README etc/ChangeLog* etc/*.txt doc/* |
152 |
} |
153 |
|
154 |
src_test() { |
155 |
cd "${S}/build" |
156 |
|
157 |
sed -i \ |
158 |
-e "1aLDFLAGS := -L${S}/build/lib/obj/gcc/so -L${S}/build/lib/obj/gcc/so_g -L${S}/build/lib/obj/gcc/so_stlg" \ |
159 |
test/unit/gcc.mak || die "sed failed" |
160 |
|
161 |
emake -j1 -C test/unit -f gcc.mak || die "emake tests failed" |
162 |
|
163 |
export LD_LIBRARY_PATH="./lib/obj/gcc/so_stlg" |
164 |
./test/unit/obj/gcc/so_stlg/stl_unit_test || die "unit tests failed" |
165 |
} |
166 |
|
167 |
|
168 |
|
169 |
-- |
170 |
gentoo-commits@g.o mailing list |