1 |
commit: 003eb41c3b2333941eaeee79c11b4a37d32ad9c6 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 29 13:22:50 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 29 13:23:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003eb41c |
7 |
|
8 |
sys-libs/zlib: drop old |
9 |
|
10 |
sys-libs/zlib/Manifest | 5 - |
11 |
sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch | 72 -------------- |
12 |
sys-libs/zlib/files/zlib-1.2.1-configure.patch | 103 --------------------- |
13 |
sys-libs/zlib/files/zlib-1.2.1-fPIC.patch | 16 ---- |
14 |
sys-libs/zlib/files/zlib-1.2.1-glibc.patch | 12 --- |
15 |
sys-libs/zlib/files/zlib-1.2.3-LDFLAGS.patch | 31 ------- |
16 |
sys-libs/zlib/files/zlib-1.2.3-build.patch | 66 ------------- |
17 |
sys-libs/zlib/files/zlib-1.2.3-mingw-implib.patch | 13 --- |
18 |
sys-libs/zlib/files/zlib-1.2.3-r1-bsd-soname.patch | 15 --- |
19 |
.../zlib/files/zlib-1.2.3-visibility-support.patch | 45 --------- |
20 |
.../zlib/files/zlib-1.2.4-minizip-autotools.patch | 64 ------------- |
21 |
sys-libs/zlib/files/zlib-1.2.5-fbsd_chosts.patch | 15 --- |
22 |
sys-libs/zlib/files/zlib-1.2.5-ldflags.patch | 22 ----- |
23 |
sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch | 15 --- |
24 |
sys-libs/zlib/files/zlib-1.2.5.1-symlinks.patch | 33 ------- |
25 |
sys-libs/zlib/files/zlib-1.2.5.1-version.patch | 22 ----- |
26 |
sys-libs/zlib/zlib-1.2.3-r1.ebuild | 78 ---------------- |
27 |
sys-libs/zlib/zlib-1.2.5-r2.ebuild | 72 -------------- |
28 |
sys-libs/zlib/zlib-1.2.5.1-r1.ebuild | 76 --------------- |
29 |
sys-libs/zlib/zlib-1.2.5.1-r2.ebuild | 100 -------------------- |
30 |
sys-libs/zlib/zlib-1.2.5.1.ebuild | 72 -------------- |
31 |
sys-libs/zlib/zlib-1.2.6.ebuild | 93 ------------------- |
32 |
sys-libs/zlib/zlib-1.2.7.ebuild | 99 -------------------- |
33 |
sys-libs/zlib/zlib-1.2.8.ebuild | 99 -------------------- |
34 |
24 files changed, 1238 deletions(-) |
35 |
|
36 |
diff --git a/sys-libs/zlib/Manifest b/sys-libs/zlib/Manifest |
37 |
index 5ebb26a..860558b 100644 |
38 |
--- a/sys-libs/zlib/Manifest |
39 |
+++ b/sys-libs/zlib/Manifest |
40 |
@@ -1,6 +1 @@ |
41 |
-DIST zlib-1.2.3.tar.bz2 425209 SHA256 e3b9950851a19904d642c4dec518623382cf4d2ac24f70a76510c944330d28ca SHA512 edae735960279d92acf58e1f4095c6392a7c2059b8f1d2c46648fc608a0fb06b392db2d073f4973f5762c034ea66596e769b95b3d26ad963a086b9b2d09825f2 WHIRLPOOL e874b123296f5d77daf60617501b30f4beebccb64b3910c2539f75f6c194a2cf4885dc7a3904bf790e1651120ec33b55c48e95970dd6bfd6c4d0a2ea48d7d0f4 |
42 |
-DIST zlib-1.2.5.1.tar.gz 548499 SHA256 c1f24a64f808528293cf04ba09a2dffbc3dd65ad7ebcee4737124ff8923756da SHA512 fceaf55eee0b8029dd4e3a6098fd9b9909a172cead79a2d92cf5b98ced0433e4bacec1064282459fea7e387f0367f78ee6e487da74199ea36da32311455802b2 WHIRLPOOL 2a64b8cb42b0913cd8a417c02ae80edcccab8346c4c9b2bfe9e7ef0c8144ed20571e1516972bf77771abb070afe0bfecd28abb07160a1c2f5be4c764dc4d385f |
43 |
-DIST zlib-1.2.5.tar.bz2 486374 SHA256 239aead2f22f16bfcfa6a6a5150dcbd6d6f2e4d1eaa8727b5769ea014120b307 SHA512 88e8aa4bd2f23233cc6c0f52e568c7d8d2c18a69170c2363b574fbe5c86ce352d0768178c3fde6372576c45e0fdf80537ebde773689e3ad8584baddb889d0ede WHIRLPOOL d660761c4f437dd6c20e5cd23e442672c77264e6dc639bbf749d253c2fffd6b9fd32a9a9df7f5e9c3ec791afebbf486b8a4d6e8bac35cd2d2371dba759bb83a7 |
44 |
-DIST zlib-1.2.6.tar.gz 557220 SHA256 21235e08552e6feba09ea5e8d750805b3391c62fb81c71a235c0044dc7a8a61b SHA512 f812ab3049fc2920a8da4649f6e60340ac365d58a0e76ace5219426aeb0759c0a474cfb2b9902cd0471158fa32a4d2c35692309d266e66013444bdced8ed00d9 WHIRLPOOL 9655627d9770b6850d33b18ef7dc349396454fc217b90d3f7c2ffdac028533ff741c3a70ee4280ef91baf67425d037e6559dcea1da4c568ca51df8e9b7ab6df3 |
45 |
-DIST zlib-1.2.7.tar.gz 560351 SHA256 fa9c9c8638efb8cb8ef5e4dd5453e455751e1c530b1595eed466e1be9b7e26c5 SHA512 b1c073ad26684e354f7c522c14655840592e03872bc0a94690f89cae2ff88f146fce1dad252ff27a889dac4a32ff9f8ab63ba940671f9da89e9ba3e19f1bf58d WHIRLPOOL 2f0bc05a9c14033adc33cdd14d1dce72a57c650304692141a89af26274b62ffa67d09afbc68562d07279f80e214e396b357f20094ecf4b9576bc200cafa01a6d |
46 |
DIST zlib-1.2.8.tar.gz 571091 SHA256 36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d SHA512 ece209d4c7ec0cb58ede791444dc754e0d10811cbbdebe3df61c0fd9f9f9867c1c3ccd5f1827f847c005e24eef34fb5bf87b5d3f894d75da04f1797538290e4a WHIRLPOOL bcb6243f1a9370eafcea03c227938da1cc106c934193ce59ef4fbdca0167777b95c9baa376feb6d8d369023024a74de5df17c2b6ec5887cdb732ffc95808ef95 |
47 |
|
48 |
diff --git a/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch b/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch |
49 |
deleted file mode 100644 |
50 |
index 86d05c8..0000000 |
51 |
--- a/sys-libs/zlib/files/zlib-1.2.1-build-fPIC.patch |
52 |
+++ /dev/null |
53 |
@@ -1,72 +0,0 @@ |
54 |
---- zlib-1.2.1/Makefile.in |
55 |
-+++ zlib-1.2.1/Makefile.in |
56 |
-@@ -49,6 +49,8 @@ |
57 |
- OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ |
58 |
- zutil.o inflate.o infback.o inftrees.o inffast.o |
59 |
- |
60 |
-+PIC_OBJS = $(OBJS:%.o=%.lo) |
61 |
-+ |
62 |
- OBJA = |
63 |
- # to use the asm code: make OBJA=match.o |
64 |
- |
65 |
-@@ -77,8 +79,11 @@ |
66 |
- mv _match.o match.o |
67 |
- rm -f _match.s |
68 |
- |
69 |
--$(SHAREDLIBV): $(OBJS) |
70 |
-- $(LDSHARED) -o $@ $(OBJS) -lc |
71 |
-+%.lo: %.c |
72 |
-+ $(CC) $(CFLAGS) -DPIC -fPIC -c $< -o $@ |
73 |
-+ |
74 |
-+$(SHAREDLIBV): $(PIC_OBJS) |
75 |
-+ $(LDSHARED) -o $@ $(PIC_OBJS) -lc |
76 |
- rm -f $(SHAREDLIB) $(SHAREDLIBM) |
77 |
- ln -s $@ $(SHAREDLIB) |
78 |
- ln -s $@ $(SHAREDLIBM) |
79 |
-@@ -89,13 +94,10 @@ |
80 |
- minigzip$(EXE): minigzip.o $(LIBS) |
81 |
- $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) |
82 |
- |
83 |
--install: $(LIBS) |
84 |
-+install-libs: $(LIBS) |
85 |
- -@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi |
86 |
-- -@if [ ! -d $(includedir) ]; then mkdir -p $(includedir); fi |
87 |
- -@if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi |
88 |
- -@if [ ! -d $(man3dir) ]; then mkdir -p $(man3dir); fi |
89 |
-- cp zlib.h zconf.h $(includedir) |
90 |
-- chmod 644 $(includedir)/zlib.h $(includedir)/zconf.h |
91 |
- cp $(LIBS) $(libdir) |
92 |
- cd $(libdir); chmod 755 $(LIBS) |
93 |
- -@(cd $(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 |
94 |
-@@ -110,6 +112,11 @@ |
95 |
- # The ranlib in install is needed on NeXTSTEP which checks file times |
96 |
- # ldconfig is for Linux |
97 |
- |
98 |
-+install: install-libs |
99 |
-+ -@if [ ! -d $(includedir) ]; then mkdir $(includedir); fi |
100 |
-+ cp zlib.h zconf.h $(includedir) |
101 |
-+ chmod 644 $(includedir)/zlib.h $(includedir)/zconf.h |
102 |
-+ |
103 |
- uninstall: |
104 |
- cd $(includedir); \ |
105 |
- cd $(libdir); rm -f libz.a; \ |
106 |
-@@ -127,7 +127,7 @@ |
107 |
- |
108 |
- mostlyclean: clean |
109 |
- clean: |
110 |
-- rm -f *.o *~ example$(EXE) minigzip$(EXE) \ |
111 |
-+ rm -f *.lo *.o *~ example$(EXE) minigzip$(EXE) \ |
112 |
- libz.* foo.gz so_locations \ |
113 |
- _match.s maketree contrib/infback9/*.o |
114 |
- |
115 |
---- zlib-1.2.1/configure |
116 |
-+++ zlib-1.2.1/configure |
117 |
-@@ -160,7 +160,7 @@ |
118 |
- if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" && |
119 |
- test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then |
120 |
- CFLAGS="$SFLAGS" |
121 |
-- LIBS="$SHAREDLIBV" |
122 |
-+ LIBS="$LIBS $SHAREDLIBV" |
123 |
- echo Building shared library $SHAREDLIBV with $CC. |
124 |
- elif test -z "$old_cc" -a -z "$old_cflags"; then |
125 |
- echo No shared library support. |
126 |
|
127 |
diff --git a/sys-libs/zlib/files/zlib-1.2.1-configure.patch b/sys-libs/zlib/files/zlib-1.2.1-configure.patch |
128 |
deleted file mode 100644 |
129 |
index 477fc5c..0000000 |
130 |
--- a/sys-libs/zlib/files/zlib-1.2.1-configure.patch |
131 |
+++ /dev/null |
132 |
@@ -1,103 +0,0 @@ |
133 |
---- configure.orig 2004-06-29 18:49:20.065187520 -0400 |
134 |
-+++ configure 2004-06-29 18:52:54.142642800 -0400 |
135 |
-@@ -160,8 +160,8 @@ |
136 |
- if test $shared -eq 1; then |
137 |
- echo Checking for shared library support... |
138 |
- # we must test in two steps (cc then ld), required at least on SunOS 4.x |
139 |
-- if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" && |
140 |
-- test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then |
141 |
-+ if ($CC -c $SFLAGS $test.c) 2>/dev/null && |
142 |
-+ ($LDSHARED -o $test$shared_ext $test.o) 2>/dev/null; then |
143 |
- CFLAGS="$SFLAGS" |
144 |
- LIBS="$LIBS $SHAREDLIBV" |
145 |
- echo Building shared library $SHAREDLIBV with $CC. |
146 |
-@@ -185,7 +185,7 @@ |
147 |
- #include <unistd.h> |
148 |
- int main() { return 0; } |
149 |
- EOF |
150 |
--if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
151 |
-+if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
152 |
- sed < zconf.in.h "/HAVE_UNISTD_H/s%0%1%" > zconf.h |
153 |
- echo "Checking for unistd.h... Yes." |
154 |
- else |
155 |
-@@ -208,7 +208,7 @@ |
156 |
- } |
157 |
- EOF |
158 |
- |
159 |
--if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
160 |
-+if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
161 |
- echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()" |
162 |
- |
163 |
- cat > $test.c <<EOF |
164 |
-@@ -232,7 +232,7 @@ |
165 |
- } |
166 |
- EOF |
167 |
- |
168 |
-- if test "`($CC $CFLAGS -o $test $test.c) 2>&1`" = ""; then |
169 |
-+ if ($CC $CFLAGS -o $test $test.c) 2>/dev/null; then |
170 |
- echo "Checking for vsnprintf() in stdio.h... Yes." |
171 |
- |
172 |
- cat >$test.c <<EOF |
173 |
-@@ -257,7 +257,7 @@ |
174 |
- } |
175 |
- EOF |
176 |
- |
177 |
-- if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
178 |
-+ if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
179 |
- echo "Checking for return value of vsnprintf()... Yes." |
180 |
- else |
181 |
- CFLAGS="$CFLAGS -DHAS_vsnprintf_void" |
182 |
-@@ -295,7 +295,7 @@ |
183 |
- } |
184 |
- EOF |
185 |
- |
186 |
-- if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
187 |
-+ if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
188 |
- echo "Checking for return value of vsprintf()... Yes." |
189 |
- else |
190 |
- CFLAGS="$CFLAGS -DHAS_vsprintf_void" |
191 |
-@@ -325,7 +325,7 @@ |
192 |
- } |
193 |
- EOF |
194 |
- |
195 |
-- if test "`($CC $CFLAGS -o $test $test.c) 2>&1`" = ""; then |
196 |
-+ if ($CC $CFLAGS -o $test $test.c) 2>/dev/null; then |
197 |
- echo "Checking for snprintf() in stdio.h... Yes." |
198 |
- |
199 |
- cat >$test.c <<EOF |
200 |
-@@ -344,7 +344,7 @@ |
201 |
- } |
202 |
- EOF |
203 |
- |
204 |
-- if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
205 |
-+ if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
206 |
- echo "Checking for return value of snprintf()... Yes." |
207 |
- else |
208 |
- CFLAGS="$CFLAGS -DHAS_snprintf_void" |
209 |
-@@ -376,7 +376,7 @@ |
210 |
- } |
211 |
- EOF |
212 |
- |
213 |
-- if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
214 |
-+ if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
215 |
- echo "Checking for return value of sprintf()... Yes." |
216 |
- else |
217 |
- CFLAGS="$CFLAGS -DHAS_sprintf_void" |
218 |
-@@ -392,7 +392,7 @@ |
219 |
- #include <errno.h> |
220 |
- int main() { return 0; } |
221 |
- EOF |
222 |
--if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
223 |
-+if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
224 |
- echo "Checking for errno.h... Yes." |
225 |
- else |
226 |
- echo "Checking for errno.h... No." |
227 |
-@@ -407,7 +407,7 @@ |
228 |
- return mmap((caddr_t)0, (off_t)0, PROT_READ, MAP_SHARED, 0, (off_t)0); |
229 |
- } |
230 |
- EOF |
231 |
--if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
232 |
-+if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
233 |
- CFLAGS="$CFLAGS -DUSE_MMAP" |
234 |
- echo Checking for mmap support... Yes. |
235 |
- else |
236 |
|
237 |
diff --git a/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch b/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch |
238 |
deleted file mode 100644 |
239 |
index 5ccbddf..0000000 |
240 |
--- a/sys-libs/zlib/files/zlib-1.2.1-fPIC.patch |
241 |
+++ /dev/null |
242 |
@@ -1,16 +0,0 @@ |
243 |
---- zlib-1.2.1/configure |
244 |
-+++ zlib-1.2.1/configure |
245 |
-@@ -73,7 +73,12 @@ |
246 |
- |
247 |
- if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then |
248 |
- CC="$cc" |
249 |
-- SFLAGS=${CFLAGS-"-fPIC -O3"} |
250 |
-+ #SFLAGS=${CFLAGS-"-fPIC -O3"} |
251 |
-+ # the above is horribly wrong on a few archs where -fPIC should ALWAYS be |
252 |
-+ # used in the creation of shared libraries. without the following, the |
253 |
-+ # shared lib test will sometimes fail even when shared libs -can- be created. |
254 |
-+ SFLAGS=${CFLAGS-"-O3"} |
255 |
-+ SFLAGS="${SFLAGS} -fPIC" |
256 |
- CFLAGS="$cflags" |
257 |
- case `(uname -s || echo unknown) 2>/dev/null` in |
258 |
- Linux | linux | GNU | GNU/*) |
259 |
|
260 |
diff --git a/sys-libs/zlib/files/zlib-1.2.1-glibc.patch b/sys-libs/zlib/files/zlib-1.2.1-glibc.patch |
261 |
deleted file mode 100644 |
262 |
index db5e0df..0000000 |
263 |
--- a/sys-libs/zlib/files/zlib-1.2.1-glibc.patch |
264 |
+++ /dev/null |
265 |
@@ -1,12 +0,0 @@ |
266 |
-diff -urN zlib-1.2.1-old/Makefile.in zlib-1.2.1/Makefile.in |
267 |
---- zlib-1.2.1-old/Makefile.in 2003-11-08 18:29:23.000000000 -0800 |
268 |
-+++ zlib-1.2.1/Makefile.in 2003-12-02 12:12:43.000000000 -0800 |
269 |
-@@ -78,7 +78,7 @@ |
270 |
- rm -f _match.s |
271 |
- |
272 |
- $(SHAREDLIBV): $(OBJS) |
273 |
-- $(LDSHARED) -o $@ $(OBJS) |
274 |
-+ $(LDSHARED) -o $@ $(OBJS) -lc |
275 |
- rm -f $(SHAREDLIB) $(SHAREDLIBM) |
276 |
- ln -s $@ $(SHAREDLIB) |
277 |
- ln -s $@ $(SHAREDLIBM) |
278 |
|
279 |
diff --git a/sys-libs/zlib/files/zlib-1.2.3-LDFLAGS.patch b/sys-libs/zlib/files/zlib-1.2.3-LDFLAGS.patch |
280 |
deleted file mode 100644 |
281 |
index 86da956..0000000 |
282 |
--- a/sys-libs/zlib/files/zlib-1.2.3-LDFLAGS.patch |
283 |
+++ /dev/null |
284 |
@@ -1,31 +0,0 @@ |
285 |
---- zlib-1.2.3/Makefile.in |
286 |
-+++ zlib-1.2.3/Makefile.in |
287 |
-@@ -24,7 +24,7 @@ |
288 |
- #CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ |
289 |
- # -Wstrict-prototypes -Wmissing-prototypes |
290 |
- |
291 |
--LDFLAGS=libz.a |
292 |
-+TEST_LDFLAGS=libz.a |
293 |
- LDSHARED=$(CC) |
294 |
- CPP=$(CC) -E |
295 |
- |
296 |
-@@ -83,16 +83,16 @@ |
297 |
- $(CC) $(CFLAGS) -DPIC -fPIC -c $< -o $@ |
298 |
- |
299 |
- $(SHAREDLIBV): $(PIC_OBJS) |
300 |
-- $(LDSHARED) -o $@ $(PIC_OBJS) -lc |
301 |
-+ $(LDSHARED) -o $@ $(PIC_OBJS) -lc $(LDFLAGS) |
302 |
- rm -f $(SHAREDLIB) $(SHAREDLIBM) |
303 |
- ln -s $@ $(SHAREDLIB) |
304 |
- ln -s $@ $(SHAREDLIBM) |
305 |
- |
306 |
- example$(EXE): example.o $(LIBS) |
307 |
-- $(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS) |
308 |
-+ $(CC) $(CFLAGS) -o $@ example.o $(LDFLAGS) $(TEST_LDFLAGS) |
309 |
- |
310 |
- minigzip$(EXE): minigzip.o $(LIBS) |
311 |
-- $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) |
312 |
-+ $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) $(TEST_LDFLAGS) |
313 |
- |
314 |
- install-libs: $(LIBS) |
315 |
- -@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi |
316 |
|
317 |
diff --git a/sys-libs/zlib/files/zlib-1.2.3-build.patch b/sys-libs/zlib/files/zlib-1.2.3-build.patch |
318 |
deleted file mode 100644 |
319 |
index 10435b8..0000000 |
320 |
--- a/sys-libs/zlib/files/zlib-1.2.3-build.patch |
321 |
+++ /dev/null |
322 |
@@ -1,66 +0,0 @@ |
323 |
---- zlib-1.2.3/configure |
324 |
-+++ zlib-1.2.3/configure |
325 |
-@@ -23,7 +23,7 @@ |
326 |
- VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` |
327 |
- VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` |
328 |
- VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h` |
329 |
--AR=${AR-"ar rc"} |
330 |
-+AR=${AR-"ar"} |
331 |
- RANLIB=${RANLIB-"ranlib"} |
332 |
- prefix=${prefix-/usr/local} |
333 |
- exec_prefix=${exec_prefix-'${prefix}'} |
334 |
---- zlib-1.2.3/Makefile.in |
335 |
-+++ zlib-1.2.3/Makefile.in |
336 |
-@@ -70,7 +70,7 @@ |
337 |
- fi |
338 |
- |
339 |
- libz.a: $(OBJS) $(OBJA) |
340 |
-- $(AR) $@ $(OBJS) $(OBJA) |
341 |
-+ $(AR) rc $@ $(OBJS) $(OBJA) |
342 |
- -@ ($(RANLIB) $@ || true) >/dev/null 2>&1 |
343 |
- |
344 |
- match.o: match.S |
345 |
---- zlib-1.2.3/win32/Makefile.gcc |
346 |
-+++ zlib-1.2.3/win32/Makefile.gcc |
347 |
-@@ -30,21 +30,23 @@ |
348 |
- #LOC = -DASMV |
349 |
- #LOC = -DDEBUG -g |
350 |
- |
351 |
--CC = gcc |
352 |
--CFLAGS = $(LOC) -O3 -Wall |
353 |
-+CC ?= gcc |
354 |
-+CFLAGS ?= $(LOC) -O3 -Wall |
355 |
- |
356 |
--AS = $(CC) |
357 |
--ASFLAGS = $(LOC) -Wall |
358 |
-+AS ?= $(CC) |
359 |
-+ASFLAGS ?= $(LOC) -Wall |
360 |
- |
361 |
- LD = $(CC) |
362 |
--LDFLAGS = $(LOC) -s |
363 |
-+LDFLAGS ?= $(LOC) -s |
364 |
- |
365 |
--AR = ar |
366 |
-+AR ?= ar |
367 |
- ARFLAGS = rcs |
368 |
- |
369 |
--RC = windres |
370 |
-+RC ?= windres |
371 |
- RCFLAGS = --define GCC_WINDRES |
372 |
- |
373 |
-+DLLWRAP ?= dllwrap |
374 |
-+ |
375 |
- CP = cp -fp |
376 |
- # If GNU install is available, replace $(CP) with install. |
377 |
- INSTALL = $(CP) |
378 |
-@@ -79,9 +81,8 @@ |
379 |
- $(IMPLIB): $(SHAREDLIB) |
380 |
- |
381 |
- $(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o |
382 |
-- dllwrap --driver-name $(CC) --def win32/zlib.def \ |
383 |
-+ $(DLLWRAP) --driver-name $(CC) --def win32/zlib.def \ |
384 |
- --implib $(IMPLIB) -o $@ $(OBJS) $(OBJA) zlibrc.o |
385 |
-- strip $@ |
386 |
- |
387 |
- example: example.o $(STATICLIB) |
388 |
- $(LD) $(LDFLAGS) -o $@ example.o $(STATICLIB) |
389 |
|
390 |
diff --git a/sys-libs/zlib/files/zlib-1.2.3-mingw-implib.patch b/sys-libs/zlib/files/zlib-1.2.3-mingw-implib.patch |
391 |
deleted file mode 100644 |
392 |
index 9726237..0000000 |
393 |
--- a/sys-libs/zlib/files/zlib-1.2.3-mingw-implib.patch |
394 |
+++ /dev/null |
395 |
@@ -1,13 +0,0 @@ |
396 |
-http://bugs.gentoo.org/288212 |
397 |
- |
398 |
---- zlib-1.2.3/win32/Makefile.gcc |
399 |
-+++ zlib-1.2.3/win32/Makefile.gcc |
400 |
-@@ -25,7 +25,7 @@ |
401 |
- |
402 |
- STATICLIB = libz.a |
403 |
- SHAREDLIB = zlib1.dll |
404 |
--IMPLIB = libzdll.a |
405 |
-+IMPLIB = libz.dll.a |
406 |
- |
407 |
- #LOC = -DASMV |
408 |
- #LOC = -DDEBUG -g |
409 |
|
410 |
diff --git a/sys-libs/zlib/files/zlib-1.2.3-r1-bsd-soname.patch b/sys-libs/zlib/files/zlib-1.2.3-r1-bsd-soname.patch |
411 |
deleted file mode 100644 |
412 |
index 872070b..0000000 |
413 |
--- a/sys-libs/zlib/files/zlib-1.2.3-r1-bsd-soname.patch |
414 |
+++ /dev/null |
415 |
@@ -1,15 +0,0 @@ |
416 |
-Generate a DT_SONAME on *BSD machines |
417 |
- |
418 |
-http://bugs.gentoo.org/123571 |
419 |
- |
420 |
---- configure |
421 |
-+++ configure |
422 |
-@@ -80,7 +80,7 @@ |
423 |
- SFLAGS="${CFLAGS-"-O3"} -fPIC" |
424 |
- CFLAGS="$cflags" |
425 |
- case `(uname -s || echo unknown) 2>/dev/null` in |
426 |
-- Linux | linux | GNU | GNU/*) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; |
427 |
-+ Linux | linux | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1"};; |
428 |
- CYGWIN* | Cygwin* | cygwin* | OS/2* ) |
429 |
- EXE='.exe';; |
430 |
- QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4 |
431 |
|
432 |
diff --git a/sys-libs/zlib/files/zlib-1.2.3-visibility-support.patch b/sys-libs/zlib/files/zlib-1.2.3-visibility-support.patch |
433 |
deleted file mode 100644 |
434 |
index ceb065e..0000000 |
435 |
--- a/sys-libs/zlib/files/zlib-1.2.3-visibility-support.patch |
436 |
+++ /dev/null |
437 |
@@ -1,45 +0,0 @@ |
438 |
-Only export symbols that should be exported. |
439 |
- |
440 |
-Patch by Mike Frysinger |
441 |
- |
442 |
-http://bugs.gentoo.org/32764 |
443 |
-http://bugs.gentoo.org/149929 |
444 |
- |
445 |
---- zlib-1.2.3/configure |
446 |
-+++ zlib-1.2.3/configure |
447 |
-@@ -209,6 +209,20 @@ |
448 |
- fi |
449 |
- |
450 |
- cat > $test.c <<EOF |
451 |
-+int foo __attribute__ ((visibility ("hidden"))); |
452 |
-+int main() |
453 |
-+{ |
454 |
-+ return 0; |
455 |
-+} |
456 |
-+EOF |
457 |
-+if ($CC -c -fvisibility=hidden $CFLAGS $test.c) 2>/dev/null; then |
458 |
-+ CFLAGS="$CFLAGS -DHAS_attribute_visibility -fvisibility=hidden" |
459 |
-+ echo "Checking for attribute(visibility) support... Yes." |
460 |
-+else |
461 |
-+ echo "Checking for attribute(visibility) support... No." |
462 |
-+fi |
463 |
-+ |
464 |
-+cat > $test.c <<EOF |
465 |
- #include <stdio.h> |
466 |
- #include <stdarg.h> |
467 |
- #include "zconf.h" |
468 |
---- zlib-1.2.3/zconf.in.h |
469 |
-+++ zlib-1.2.3/zconf.in.h |
470 |
-@@ -244,7 +244,11 @@ |
471 |
- #endif |
472 |
- |
473 |
- #ifndef ZEXTERN |
474 |
--# define ZEXTERN extern |
475 |
-+# if defined(ZLIB_INTERNAL) && defined(HAS_attribute_visibility) |
476 |
-+# define ZEXTERN extern __attribute__ ((visibility("default"))) |
477 |
-+# else |
478 |
-+# define ZEXTERN extern |
479 |
-+# endif |
480 |
- #endif |
481 |
- #ifndef ZEXPORT |
482 |
- # define ZEXPORT |
483 |
|
484 |
diff --git a/sys-libs/zlib/files/zlib-1.2.4-minizip-autotools.patch b/sys-libs/zlib/files/zlib-1.2.4-minizip-autotools.patch |
485 |
deleted file mode 100644 |
486 |
index 81a62f0..0000000 |
487 |
--- a/sys-libs/zlib/files/zlib-1.2.4-minizip-autotools.patch |
488 |
+++ /dev/null |
489 |
@@ -1,64 +0,0 @@ |
490 |
-sniped & improved from Fedora |
491 |
- |
492 |
---- zlib-1.2.4/contrib/minizip/configure.ac |
493 |
-+++ zlib-1.2.4/contrib/minizip/configure.ac |
494 |
-@@ -0,0 +1,12 @@ |
495 |
-+# -*- Autoconf -*- |
496 |
-+# Process this file with autoconf to produce a configure script. |
497 |
-+ |
498 |
-+AC_INIT([minizip], [@ZLIB_VER@], [bugzilla.redhat.com]) |
499 |
-+AC_CONFIG_SRCDIR([minigzip.c]) |
500 |
-+AM_INIT_AUTOMAKE([foreign]) |
501 |
-+LT_INIT |
502 |
-+ |
503 |
-+AC_SUBST([HAVE_UNISTD_H], [0]) |
504 |
-+AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) |
505 |
-+AC_CONFIG_FILES([Makefile minizip.pc]) |
506 |
-+AC_OUTPUT |
507 |
---- zlib-1.2.4/contrib/minizip/Makefile.am |
508 |
-+++ zlib-1.2.4/contrib/minizip/Makefile.am |
509 |
-@@ -0,0 +1,28 @@ |
510 |
-+lib_LTLIBRARIES = libminizip.la |
511 |
-+ |
512 |
-+libminizip_la_SOURCES = \ |
513 |
-+ ioapi.c \ |
514 |
-+ mztools.c \ |
515 |
-+ unzip.c \ |
516 |
-+ zip.c |
517 |
-+ |
518 |
-+libminizip_la_CFLAGS = -I../.. -L../.. |
519 |
-+libminizip_la_LDFLAGS = -version-info 1:0:0 -lz |
520 |
-+ |
521 |
-+minizip_includedir = $(includedir)/minizip |
522 |
-+minizip_include_HEADERS = \ |
523 |
-+ crypt.h \ |
524 |
-+ ioapi.h \ |
525 |
-+ mztools.h \ |
526 |
-+ unzip.h \ |
527 |
-+ zip.h |
528 |
-+ |
529 |
-+pkgconfigdir = $(libdir)/pkgconfig |
530 |
-+pkgconfig_DATA = minizip.pc |
531 |
-+ |
532 |
-+EXTRA_PROGRAMS = miniunzip minizip |
533 |
-+ |
534 |
-+miniunzip_SOURCES = miniunz.c |
535 |
-+miniunzip_LDADD = libminizip.la |
536 |
-+ |
537 |
-+minizip_SOURCES = minizip.c |
538 |
-+minizip_LDADD = libminizip.la |
539 |
---- zlib-1.2.4/contrib/minizip/minizip.pc.in |
540 |
-+++ zlib-1.2.4/contrib/minizip/minizip.pc.in |
541 |
-@@ -0,0 +1,12 @@ |
542 |
-+prefix=@prefix@ |
543 |
-+exec_prefix=@exec_prefix@ |
544 |
-+libdir=@libdir@ |
545 |
-+includedir=@includedir@/minizip |
546 |
-+ |
547 |
-+Name: minizip |
548 |
-+Description: Minizip zip file manipulation library |
549 |
-+Requires: |
550 |
-+Version: @PACKAGE_VERSION@ |
551 |
-+Libs: -L${libdir} -lminizip |
552 |
-+Libs.private: -lz |
553 |
-+Cflags: -I${includedir} |
554 |
|
555 |
diff --git a/sys-libs/zlib/files/zlib-1.2.5-fbsd_chosts.patch b/sys-libs/zlib/files/zlib-1.2.5-fbsd_chosts.patch |
556 |
deleted file mode 100644 |
557 |
index 9b1f833..0000000 |
558 |
--- a/sys-libs/zlib/files/zlib-1.2.5-fbsd_chosts.patch |
559 |
+++ /dev/null |
560 |
@@ -1,15 +0,0 @@ |
561 |
-accept freebsd targets |
562 |
- |
563 |
-http://bugs.gentoo.org/316841 |
564 |
- |
565 |
---- zlib-1.2.5/configure |
566 |
-+++ zlib-1.2.5/configure |
567 |
-@@ -118,7 +118,7 @@ |
568 |
- uname=`(uname -s || echo unknown) 2>/dev/null` |
569 |
- fi |
570 |
- case "$uname" in |
571 |
-- Linux* | linux* | GNU | GNU/* | *BSD | DragonFly) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;; |
572 |
-+ Linux* | linux* | GNU | GNU/* | *BSD | DragonFly | freebsd* ) LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;; |
573 |
- CYGWIN* | Cygwin* | cygwin* | OS/2*) |
574 |
- EXE='.exe' ;; |
575 |
- MINGW*|mingw*) |
576 |
|
577 |
diff --git a/sys-libs/zlib/files/zlib-1.2.5-ldflags.patch b/sys-libs/zlib/files/zlib-1.2.5-ldflags.patch |
578 |
deleted file mode 100644 |
579 |
index dff534b..0000000 |
580 |
--- a/sys-libs/zlib/files/zlib-1.2.5-ldflags.patch |
581 |
+++ /dev/null |
582 |
@@ -1,22 +0,0 @@ |
583 |
-http://bugs.gentoo.org/319661 |
584 |
- |
585 |
-LDFLAGS is only used with the shared lib, so dont link against the static zlib |
586 |
- |
587 |
---- a/configure |
588 |
-+++ b/configure |
589 |
-@@ -19,7 +19,6 @@ |
590 |
- fi |
591 |
- |
592 |
- STATICLIB=libz.a |
593 |
--LDFLAGS="${LDFLAGS} -L. ${STATICLIB}" |
594 |
- VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h` |
595 |
- VER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < zlib.h` |
596 |
- VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h` |
597 |
-@@ -174,7 +173,6 @@ |
598 |
- LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so.1"} ;; |
599 |
- OSF1\ V4*) SFLAGS=${CFLAGS-"-O -std1"} |
600 |
- CFLAGS=${CFLAGS-"-O -std1"} |
601 |
-- LDFLAGS="${LDFLAGS} -Wl,-rpath,." |
602 |
- LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so -Wl,-msym -Wl,-rpath,$(libdir) -Wl,-set_version,${VER}:1.0"} ;; |
603 |
- OSF1*) SFLAGS=${CFLAGS-"-O -std1"} |
604 |
- CFLAGS=${CFLAGS-"-O -std1"} |
605 |
|
606 |
diff --git a/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch b/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch |
607 |
deleted file mode 100644 |
608 |
index 8d73430..0000000 |
609 |
--- a/sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch |
610 |
+++ /dev/null |
611 |
@@ -1,15 +0,0 @@ |
612 |
-http://bugs.gentoo.org/316377 |
613 |
- |
614 |
-try to unbreak over-eager LFS logic in zlib header |
615 |
- |
616 |
---- zlib-1.2.5/zlib.h |
617 |
-+++ zlib-1.2.5/zlib.h |
618 |
-@@ -1578,7 +1578,7 @@ |
619 |
- # define gzoffset gzoffset64 |
620 |
- # define adler32_combine adler32_combine64 |
621 |
- # define crc32_combine crc32_combine64 |
622 |
--# ifdef _LARGEFILE64_SOURCE |
623 |
-+# ifndef _LARGEFILE64_SOURCE |
624 |
- ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
625 |
- ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); |
626 |
- ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); |
627 |
|
628 |
diff --git a/sys-libs/zlib/files/zlib-1.2.5.1-symlinks.patch b/sys-libs/zlib/files/zlib-1.2.5.1-symlinks.patch |
629 |
deleted file mode 100644 |
630 |
index e747b01..0000000 |
631 |
--- a/sys-libs/zlib/files/zlib-1.2.5.1-symlinks.patch |
632 |
+++ /dev/null |
633 |
@@ -1,33 +0,0 @@ |
634 |
-From e41d99c135935b849e1e639632937829ff2000d8 Mon Sep 17 00:00:00 2001 |
635 |
-From: Mike Frysinger <vapier@g.o> |
636 |
-Date: Sun, 11 Sep 2011 14:32:53 -0400 |
637 |
-Subject: [PATCH] use relative symlinks for shared libs |
638 |
- |
639 |
-The DESTDIR should not be encoded into symlinks as it is only a |
640 |
-temporary path. Further, since we install the symlinks into the |
641 |
-same dir as the files, let's use relative links so that they can |
642 |
-always resolve. |
643 |
- |
644 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
645 |
---- |
646 |
- Makefile.in | 4 ++-- |
647 |
- 1 files changed, 2 insertions(+), 2 deletions(-) |
648 |
- |
649 |
-diff --git a/Makefile.in b/Makefile.in |
650 |
-index 861970d..299bd1d 100644 |
651 |
---- a/Makefile.in |
652 |
-+++ b/Makefile.in |
653 |
-@@ -176,8 +176,8 @@ install-libs: $(LIBS) |
654 |
- chmod 755 $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV); \ |
655 |
- echo "chmod 755 $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV)"; \ |
656 |
- rm -f $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \ |
657 |
-- ln -s $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB); \ |
658 |
-- ln -s $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \ |
659 |
-+ ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB); \ |
660 |
-+ ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \ |
661 |
- ($(LDCONFIG) || true) >/dev/null 2>&1; \ |
662 |
- fi |
663 |
- cp zlib.3 $(DESTDIR)$(man3dir) |
664 |
--- |
665 |
-1.7.6 |
666 |
- |
667 |
|
668 |
diff --git a/sys-libs/zlib/files/zlib-1.2.5.1-version.patch b/sys-libs/zlib/files/zlib-1.2.5.1-version.patch |
669 |
deleted file mode 100644 |
670 |
index afaa1f0..0000000 |
671 |
--- a/sys-libs/zlib/files/zlib-1.2.5.1-version.patch |
672 |
+++ /dev/null |
673 |
@@ -1,22 +0,0 @@ |
674 |
-From 70386acb30b690fc9fcfdac9e01c8ca29ff20ef5 Mon Sep 17 00:00:00 2001 |
675 |
-From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edwin?= <edwintorok@×××××.com> |
676 |
-Date: Sun, 11 Sep 2011 10:00:52 +0300 |
677 |
-Subject: [PATCH] fix ld error: unable to find version dependency `ZLIB_1.2.5' |
678 |
- |
679 |
---- |
680 |
- zlib.map | 2 +- |
681 |
- 1 files changed, 1 insertions(+), 1 deletions(-) |
682 |
- |
683 |
-diff --git a/zlib.map b/zlib.map |
684 |
-index 65bcf17..f65a125 100644 |
685 |
---- a/zlib.map |
686 |
-+++ b/zlib.map |
687 |
-@@ -69,4 +69,4 @@ ZLIB_1.2.3.5 { |
688 |
- |
689 |
- ZLIB_1.2.5.1 { |
690 |
- deflatePending; |
691 |
--} ZLIB_1.2.5; |
692 |
-+} ZLIB_1.2.3.5; |
693 |
--- |
694 |
-1.7.5.4 |
695 |
- |
696 |
|
697 |
diff --git a/sys-libs/zlib/zlib-1.2.3-r1.ebuild b/sys-libs/zlib/zlib-1.2.3-r1.ebuild |
698 |
deleted file mode 100644 |
699 |
index ffbe773..0000000 |
700 |
--- a/sys-libs/zlib/zlib-1.2.3-r1.ebuild |
701 |
+++ /dev/null |
702 |
@@ -1,78 +0,0 @@ |
703 |
-# Copyright 1999-2011 Gentoo Foundation |
704 |
-# Distributed under the terms of the GNU General Public License v2 |
705 |
-# $Id$ |
706 |
- |
707 |
-inherit eutils flag-o-matic toolchain-funcs multilib |
708 |
- |
709 |
-DESCRIPTION="Standard (de)compression library" |
710 |
-HOMEPAGE="http://www.zlib.net/" |
711 |
-SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2 |
712 |
- http://www.zlib.net/${P}.tar.bz2" |
713 |
- |
714 |
-LICENSE="ZLIB" |
715 |
-SLOT="0" |
716 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" |
717 |
-IUSE="" |
718 |
- |
719 |
-RDEPEND="" |
720 |
- |
721 |
-src_unpack() { |
722 |
- unpack ${A} |
723 |
- cd "${S}" |
724 |
- epatch "${FILESDIR}"/${P}-build.patch |
725 |
- epatch "${FILESDIR}"/${P}-visibility-support.patch #149929 |
726 |
- epatch "${FILESDIR}"/${PN}-1.2.1-glibc.patch |
727 |
- epatch "${FILESDIR}"/${PN}-1.2.1-build-fPIC.patch |
728 |
- epatch "${FILESDIR}"/${PN}-1.2.1-configure.patch #55434 |
729 |
- epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch |
730 |
- epatch "${FILESDIR}"/${PN}-1.2.3-r1-bsd-soname.patch #123571 |
731 |
- epatch "${FILESDIR}"/${PN}-1.2.3-LDFLAGS.patch #126718 |
732 |
- epatch "${FILESDIR}"/${PN}-1.2.3-mingw-implib.patch #288212 |
733 |
- sed -i -e '/ldconfig/d' Makefile* |
734 |
-} |
735 |
- |
736 |
-src_compile() { |
737 |
- tc-export AR CC RANLIB |
738 |
- case ${CHOST} in |
739 |
- *-mingw*|mingw*) |
740 |
- export RC=${CHOST}-windres DLLWRAP=${CHOST}-dllwrap |
741 |
- emake -f win32/Makefile.gcc prefix=/usr || die |
742 |
- ;; |
743 |
- *) |
744 |
- # not an autoconf script, so cant use econf |
745 |
- ./configure --shared --prefix=/usr --libdir=/$(get_libdir) || die |
746 |
- emake || die |
747 |
- ;; |
748 |
- esac |
749 |
-} |
750 |
- |
751 |
-src_install() { |
752 |
- einstall libdir="${D}"/$(get_libdir) || die |
753 |
- rm "${D}"/$(get_libdir)/libz.a |
754 |
- insinto /usr/include |
755 |
- doins zconf.h zlib.h |
756 |
- |
757 |
- doman zlib.3 |
758 |
- dodoc FAQ README ChangeLog algorithm.txt |
759 |
- |
760 |
- # we don't need the static lib in /lib |
761 |
- # as it's only for compiling against |
762 |
- dolib libz.a |
763 |
- |
764 |
- # all the shared libs go into /lib |
765 |
- # for NFS based /usr |
766 |
- case ${CHOST} in |
767 |
- *-mingw*|mingw*) |
768 |
- dobin zlib1.dll || die |
769 |
- dolib libz.dll.a || die |
770 |
- ;; |
771 |
- *) |
772 |
- into / |
773 |
- dolib libz.so.${PV} |
774 |
- ( cd "${D}"/$(get_libdir) ; chmod 755 libz.so.* ) |
775 |
- dosym libz.so.${PV} /$(get_libdir)/libz.so |
776 |
- dosym libz.so.${PV} /$(get_libdir)/libz.so.1 |
777 |
- gen_usr_ldscript libz.so |
778 |
- ;; |
779 |
- esac |
780 |
-} |
781 |
|
782 |
diff --git a/sys-libs/zlib/zlib-1.2.5-r2.ebuild b/sys-libs/zlib/zlib-1.2.5-r2.ebuild |
783 |
deleted file mode 100644 |
784 |
index efc81c6..0000000 |
785 |
--- a/sys-libs/zlib/zlib-1.2.5-r2.ebuild |
786 |
+++ /dev/null |
787 |
@@ -1,72 +0,0 @@ |
788 |
-# Copyright 1999-2011 Gentoo Foundation |
789 |
-# Distributed under the terms of the GNU General Public License v2 |
790 |
-# $Id$ |
791 |
- |
792 |
-inherit eutils toolchain-funcs multilib |
793 |
- |
794 |
-DESCRIPTION="Standard (de)compression library" |
795 |
-HOMEPAGE="http://www.zlib.net/" |
796 |
-SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2 |
797 |
- http://www.zlib.net/${P}.tar.bz2" |
798 |
- |
799 |
-LICENSE="ZLIB" |
800 |
-SLOT="0" |
801 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" |
802 |
-IUSE="" |
803 |
- |
804 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
805 |
- |
806 |
-src_unpack() { |
807 |
- unpack ${A} |
808 |
- cd "${S}" |
809 |
- # trust exit status of the compiler rather than stderr #55434 |
810 |
- # -if test "`(...) 2>&1`" = ""; then |
811 |
- # +if (...) 2>/dev/null; then |
812 |
- sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die |
813 |
- |
814 |
- epatch "${FILESDIR}"/${P}-ldflags.patch #319661 |
815 |
- epatch "${FILESDIR}"/${P}-lfs-decls.patch #316377 |
816 |
- epatch "${FILESDIR}"/${P}-fbsd_chosts.patch #316841 |
817 |
-} |
818 |
- |
819 |
-src_compile() { |
820 |
- case ${CHOST} in |
821 |
- *-mingw*|mingw*) |
822 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
823 |
- sed \ |
824 |
- -e 's|@prefix@|/usr|g' \ |
825 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
826 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
827 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
828 |
- -e 's|@includedir@|${prefix}/include|g' \ |
829 |
- -e 's|@VERSION@|'${PV}'|g' \ |
830 |
- zlib.pc.in > zlib.pc || die |
831 |
- ;; |
832 |
- *) # not an autoconf script, so can't use econf |
833 |
- ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die |
834 |
- emake || die |
835 |
- ;; |
836 |
- esac |
837 |
-} |
838 |
- |
839 |
-src_install() { |
840 |
- case ${CHOST} in |
841 |
- *-mingw*|mingw*) |
842 |
- emake -f win32/Makefile.gcc install \ |
843 |
- BINARY_PATH="${D}/usr/bin" \ |
844 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
845 |
- INCLUDE_PATH="${D}/usr/include" \ |
846 |
- SHARED_MODE=1 \ |
847 |
- || die |
848 |
- insinto /usr/share/pkgconfig |
849 |
- doins zlib.pc || die |
850 |
- ;; |
851 |
- |
852 |
- *) |
853 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
854 |
- gen_usr_ldscript -a z |
855 |
- ;; |
856 |
- esac |
857 |
- |
858 |
- dodoc FAQ README ChangeLog doc/*.txt |
859 |
-} |
860 |
|
861 |
diff --git a/sys-libs/zlib/zlib-1.2.5.1-r1.ebuild b/sys-libs/zlib/zlib-1.2.5.1-r1.ebuild |
862 |
deleted file mode 100644 |
863 |
index 369f93d..0000000 |
864 |
--- a/sys-libs/zlib/zlib-1.2.5.1-r1.ebuild |
865 |
+++ /dev/null |
866 |
@@ -1,76 +0,0 @@ |
867 |
-# Copyright 1999-2012 Gentoo Foundation |
868 |
-# Distributed under the terms of the GNU General Public License v2 |
869 |
-# $Id$ |
870 |
- |
871 |
-inherit eutils toolchain-funcs multilib |
872 |
- |
873 |
-DESCRIPTION="Standard (de)compression library" |
874 |
-HOMEPAGE="http://www.zlib.net/" |
875 |
-SRC_URI="http://www.gzip.org/zlib/${P}.tar.gz |
876 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
877 |
- |
878 |
-LICENSE="ZLIB" |
879 |
-SLOT="0" |
880 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
881 |
-IUSE="" |
882 |
- |
883 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
884 |
- |
885 |
-src_unpack() { |
886 |
- unpack ${A} |
887 |
- cd "${S}" |
888 |
- # trust exit status of the compiler rather than stderr #55434 |
889 |
- # -if test "`(...) 2>&1`" = ""; then |
890 |
- # +if (...) 2>/dev/null; then |
891 |
- sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die |
892 |
- |
893 |
- epatch "${FILESDIR}"/${P}-version.patch |
894 |
- epatch "${FILESDIR}"/${P}-symlinks.patch |
895 |
-} |
896 |
- |
897 |
-echoit() { echo "$@"; "$@"; } |
898 |
-src_compile() { |
899 |
- case ${CHOST} in |
900 |
- *-mingw*|mingw*) |
901 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
902 |
- sed \ |
903 |
- -e 's|@prefix@|/usr|g' \ |
904 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
905 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
906 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
907 |
- -e 's|@includedir@|${prefix}/include|g' \ |
908 |
- -e 's|@VERSION@|'${PV}'|g' \ |
909 |
- zlib.pc.in > zlib.pc || die |
910 |
- ;; |
911 |
- *) # not an autoconf script, so can't use econf |
912 |
- echoit ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die |
913 |
- emake || die |
914 |
- ;; |
915 |
- esac |
916 |
-} |
917 |
- |
918 |
-src_install() { |
919 |
- case ${CHOST} in |
920 |
- *-mingw*|mingw*) |
921 |
- emake -f win32/Makefile.gcc install \ |
922 |
- BINARY_PATH="${D}/usr/bin" \ |
923 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
924 |
- INCLUDE_PATH="${D}/usr/include" \ |
925 |
- SHARED_MODE=1 \ |
926 |
- || die |
927 |
- insinto /usr/share/pkgconfig |
928 |
- doins zlib.pc || die |
929 |
- ;; |
930 |
- |
931 |
- *) |
932 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
933 |
- gen_usr_ldscript -a z |
934 |
- ;; |
935 |
- esac |
936 |
- |
937 |
- # clean up namespace a little #383179 |
938 |
- # we do it here so we only have to tweak 2 files |
939 |
- sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "${D}"/usr/include/*.h |
940 |
- |
941 |
- dodoc FAQ README ChangeLog doc/*.txt |
942 |
-} |
943 |
|
944 |
diff --git a/sys-libs/zlib/zlib-1.2.5.1-r2.ebuild b/sys-libs/zlib/zlib-1.2.5.1-r2.ebuild |
945 |
deleted file mode 100644 |
946 |
index accca10..0000000 |
947 |
--- a/sys-libs/zlib/zlib-1.2.5.1-r2.ebuild |
948 |
+++ /dev/null |
949 |
@@ -1,100 +0,0 @@ |
950 |
-# Copyright 1999-2012 Gentoo Foundation |
951 |
-# Distributed under the terms of the GNU General Public License v2 |
952 |
-# $Id$ |
953 |
- |
954 |
-inherit autotools eutils toolchain-funcs multilib |
955 |
- |
956 |
-DESCRIPTION="Standard (de)compression library" |
957 |
-HOMEPAGE="http://www.zlib.net/" |
958 |
-SRC_URI="http://www.gzip.org/zlib/${P}.tar.gz |
959 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
960 |
- |
961 |
-LICENSE="ZLIB" |
962 |
-SLOT="0" |
963 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" |
964 |
-IUSE="minizip static-libs" |
965 |
- |
966 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
967 |
- |
968 |
-src_unpack() { |
969 |
- unpack ${A} |
970 |
- cd "${S}" |
971 |
- # trust exit status of the compiler rather than stderr #55434 |
972 |
- # -if test "`(...) 2>&1`" = ""; then |
973 |
- # +if (...) 2>/dev/null; then |
974 |
- sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die |
975 |
- |
976 |
- epatch "${FILESDIR}"/${P}-version.patch |
977 |
- epatch "${FILESDIR}"/${P}-symlinks.patch |
978 |
- EPATCH_OPTS=-p1 epatch "${FILESDIR}"/${PN}-1.2.4-minizip-autotools.patch |
979 |
- if use minizip ; then |
980 |
- cd contrib/minizip |
981 |
- sed -i "s:@ZLIB_VER@:${PV}:" configure.ac || die |
982 |
- ln -s ../../minigzip.c || die |
983 |
- eautoreconf |
984 |
- fi |
985 |
-} |
986 |
- |
987 |
-usex() { use $1 && echo ${2:-yes} || echo ${3:-no} ; } |
988 |
-echoit() { echo "$@"; "$@"; } |
989 |
-src_compile() { |
990 |
- case ${CHOST} in |
991 |
- *-mingw*|mingw*) |
992 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
993 |
- sed \ |
994 |
- -e 's|@prefix@|/usr|g' \ |
995 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
996 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
997 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
998 |
- -e 's|@includedir@|${prefix}/include|g' \ |
999 |
- -e 's|@VERSION@|'${PV}'|g' \ |
1000 |
- zlib.pc.in > zlib.pc || die |
1001 |
- ;; |
1002 |
- *) # not an autoconf script, so can't use econf |
1003 |
- echoit ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die |
1004 |
- emake || die |
1005 |
- ;; |
1006 |
- esac |
1007 |
- if use minizip ; then |
1008 |
- cd contrib/minizip |
1009 |
- econf $(use_enable static-libs static) |
1010 |
- emake || die |
1011 |
- fi |
1012 |
-} |
1013 |
- |
1014 |
-sed_macros() { |
1015 |
- # clean up namespace a little #383179 |
1016 |
- # we do it here so we only have to tweak 2 files |
1017 |
- sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "$@" || die |
1018 |
-} |
1019 |
-src_install() { |
1020 |
- case ${CHOST} in |
1021 |
- *-mingw*|mingw*) |
1022 |
- emake -f win32/Makefile.gcc install \ |
1023 |
- BINARY_PATH="${D}/usr/bin" \ |
1024 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
1025 |
- INCLUDE_PATH="${D}/usr/include" \ |
1026 |
- SHARED_MODE=1 \ |
1027 |
- || die |
1028 |
- insinto /usr/share/pkgconfig |
1029 |
- doins zlib.pc || die |
1030 |
- ;; |
1031 |
- |
1032 |
- *) |
1033 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
1034 |
- gen_usr_ldscript -a z |
1035 |
- sed_macros "${D}"/usr/include/*.h |
1036 |
- ;; |
1037 |
- esac |
1038 |
- |
1039 |
- dodoc FAQ README ChangeLog doc/*.txt |
1040 |
- |
1041 |
- if use minizip ; then |
1042 |
- cd contrib/minizip |
1043 |
- emake install DESTDIR="${D}" || die |
1044 |
- sed_macros "${D}"/usr/include/minizip/*.h |
1045 |
- dodoc *.txt |
1046 |
- fi |
1047 |
- |
1048 |
- use static-libs || rm -f "${D}"/usr/$(get_libdir)/*.{a,la} |
1049 |
-} |
1050 |
|
1051 |
diff --git a/sys-libs/zlib/zlib-1.2.5.1.ebuild b/sys-libs/zlib/zlib-1.2.5.1.ebuild |
1052 |
deleted file mode 100644 |
1053 |
index 7fff535..0000000 |
1054 |
--- a/sys-libs/zlib/zlib-1.2.5.1.ebuild |
1055 |
+++ /dev/null |
1056 |
@@ -1,72 +0,0 @@ |
1057 |
-# Copyright 1999-2011 Gentoo Foundation |
1058 |
-# Distributed under the terms of the GNU General Public License v2 |
1059 |
-# $Id$ |
1060 |
- |
1061 |
-inherit eutils toolchain-funcs multilib |
1062 |
- |
1063 |
-DESCRIPTION="Standard (de)compression library" |
1064 |
-HOMEPAGE="http://www.zlib.net/" |
1065 |
-SRC_URI="http://www.gzip.org/zlib/${P}.tar.gz |
1066 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
1067 |
- |
1068 |
-LICENSE="ZLIB" |
1069 |
-SLOT="0" |
1070 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
1071 |
-IUSE="" |
1072 |
- |
1073 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
1074 |
- |
1075 |
-src_unpack() { |
1076 |
- unpack ${A} |
1077 |
- cd "${S}" |
1078 |
- # trust exit status of the compiler rather than stderr #55434 |
1079 |
- # -if test "`(...) 2>&1`" = ""; then |
1080 |
- # +if (...) 2>/dev/null; then |
1081 |
- sed -i 's|\<test "`\([^"]*\) 2>&1`" = ""|\1 2>/dev/null|' configure || die |
1082 |
- |
1083 |
- epatch "${FILESDIR}"/${P}-version.patch |
1084 |
- epatch "${FILESDIR}"/${P}-symlinks.patch |
1085 |
-} |
1086 |
- |
1087 |
-echoit() { echo "$@"; "$@"; } |
1088 |
-src_compile() { |
1089 |
- case ${CHOST} in |
1090 |
- *-mingw*|mingw*) |
1091 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
1092 |
- sed \ |
1093 |
- -e 's|@prefix@|/usr|g' \ |
1094 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
1095 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1096 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1097 |
- -e 's|@includedir@|${prefix}/include|g' \ |
1098 |
- -e 's|@VERSION@|'${PV}'|g' \ |
1099 |
- zlib.pc.in > zlib.pc || die |
1100 |
- ;; |
1101 |
- *) # not an autoconf script, so can't use econf |
1102 |
- echoit ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die |
1103 |
- emake || die |
1104 |
- ;; |
1105 |
- esac |
1106 |
-} |
1107 |
- |
1108 |
-src_install() { |
1109 |
- case ${CHOST} in |
1110 |
- *-mingw*|mingw*) |
1111 |
- emake -f win32/Makefile.gcc install \ |
1112 |
- BINARY_PATH="${D}/usr/bin" \ |
1113 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
1114 |
- INCLUDE_PATH="${D}/usr/include" \ |
1115 |
- SHARED_MODE=1 \ |
1116 |
- || die |
1117 |
- insinto /usr/share/pkgconfig |
1118 |
- doins zlib.pc || die |
1119 |
- ;; |
1120 |
- |
1121 |
- *) |
1122 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
1123 |
- gen_usr_ldscript -a z |
1124 |
- ;; |
1125 |
- esac |
1126 |
- |
1127 |
- dodoc FAQ README ChangeLog doc/*.txt |
1128 |
-} |
1129 |
|
1130 |
diff --git a/sys-libs/zlib/zlib-1.2.6.ebuild b/sys-libs/zlib/zlib-1.2.6.ebuild |
1131 |
deleted file mode 100644 |
1132 |
index 34683f7..0000000 |
1133 |
--- a/sys-libs/zlib/zlib-1.2.6.ebuild |
1134 |
+++ /dev/null |
1135 |
@@ -1,93 +0,0 @@ |
1136 |
-# Copyright 1999-2012 Gentoo Foundation |
1137 |
-# Distributed under the terms of the GNU General Public License v2 |
1138 |
-# $Id$ |
1139 |
- |
1140 |
-AUTOTOOLS_AUTO_DEPEND="no" |
1141 |
-inherit autotools eutils toolchain-funcs multilib |
1142 |
- |
1143 |
-DESCRIPTION="Standard (de)compression library" |
1144 |
-HOMEPAGE="http://www.zlib.net/" |
1145 |
-SRC_URI="http://zlib.net/${P}.tar.gz |
1146 |
- http://www.gzip.org/zlib/${P}.tar.gz |
1147 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
1148 |
- |
1149 |
-LICENSE="ZLIB" |
1150 |
-SLOT="0" |
1151 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1152 |
-IUSE="minizip static-libs" |
1153 |
- |
1154 |
-DEPEND="minizip? ( ${AUTOTOOLS_DEPEND} )" |
1155 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
1156 |
- |
1157 |
-src_unpack() { |
1158 |
- unpack ${A} |
1159 |
- cd "${S}" |
1160 |
- |
1161 |
- if use minizip ; then |
1162 |
- cd contrib/minizip |
1163 |
- eautoreconf |
1164 |
- fi |
1165 |
-} |
1166 |
- |
1167 |
-echoit() { echo "$@"; "$@"; } |
1168 |
-src_compile() { |
1169 |
- case ${CHOST} in |
1170 |
- *-mingw*|mingw*) |
1171 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
1172 |
- sed \ |
1173 |
- -e 's|@prefix@|/usr|g' \ |
1174 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
1175 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1176 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1177 |
- -e 's|@includedir@|${prefix}/include|g' \ |
1178 |
- -e 's|@VERSION@|'${PV}'|g' \ |
1179 |
- zlib.pc.in > zlib.pc || die |
1180 |
- ;; |
1181 |
- *) # not an autoconf script, so can't use econf |
1182 |
- echoit ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die |
1183 |
- emake || die |
1184 |
- ;; |
1185 |
- esac |
1186 |
- if use minizip ; then |
1187 |
- cd contrib/minizip |
1188 |
- econf $(use_enable static-libs static) |
1189 |
- emake || die |
1190 |
- fi |
1191 |
-} |
1192 |
- |
1193 |
-sed_macros() { |
1194 |
- # clean up namespace a little #383179 |
1195 |
- # we do it here so we only have to tweak 2 files |
1196 |
- sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "$@" || die |
1197 |
-} |
1198 |
-src_install() { |
1199 |
- case ${CHOST} in |
1200 |
- *-mingw*|mingw*) |
1201 |
- emake -f win32/Makefile.gcc install \ |
1202 |
- BINARY_PATH="${D}/usr/bin" \ |
1203 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
1204 |
- INCLUDE_PATH="${D}/usr/include" \ |
1205 |
- SHARED_MODE=1 \ |
1206 |
- || die |
1207 |
- insinto /usr/share/pkgconfig |
1208 |
- doins zlib.pc || die |
1209 |
- ;; |
1210 |
- |
1211 |
- *) |
1212 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
1213 |
- gen_usr_ldscript -a z |
1214 |
- ;; |
1215 |
- esac |
1216 |
- sed_macros "${D}"/usr/include/*.h |
1217 |
- |
1218 |
- dodoc FAQ README ChangeLog doc/*.txt |
1219 |
- |
1220 |
- if use minizip ; then |
1221 |
- cd contrib/minizip |
1222 |
- emake install DESTDIR="${D}" || die |
1223 |
- sed_macros "${D}"/usr/include/minizip/*.h |
1224 |
- dodoc *.txt |
1225 |
- fi |
1226 |
- |
1227 |
- use static-libs || rm -f "${D}"/usr/$(get_libdir)/*.{a,la} |
1228 |
-} |
1229 |
|
1230 |
diff --git a/sys-libs/zlib/zlib-1.2.7.ebuild b/sys-libs/zlib/zlib-1.2.7.ebuild |
1231 |
deleted file mode 100644 |
1232 |
index 3155b6b..0000000 |
1233 |
--- a/sys-libs/zlib/zlib-1.2.7.ebuild |
1234 |
+++ /dev/null |
1235 |
@@ -1,99 +0,0 @@ |
1236 |
-# Copyright 1999-2012 Gentoo Foundation |
1237 |
-# Distributed under the terms of the GNU General Public License v2 |
1238 |
-# $Id$ |
1239 |
- |
1240 |
-AUTOTOOLS_AUTO_DEPEND="no" |
1241 |
-inherit autotools toolchain-funcs multilib |
1242 |
- |
1243 |
-DESCRIPTION="Standard (de)compression library" |
1244 |
-HOMEPAGE="http://www.zlib.net/" |
1245 |
-SRC_URI="http://zlib.net/${P}.tar.gz |
1246 |
- http://www.gzip.org/zlib/${P}.tar.gz |
1247 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
1248 |
- |
1249 |
-LICENSE="ZLIB" |
1250 |
-SLOT="0" |
1251 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1252 |
-IUSE="minizip static-libs" |
1253 |
- |
1254 |
-DEPEND="minizip? ( ${AUTOTOOLS_DEPEND} )" |
1255 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
1256 |
- |
1257 |
-src_unpack() { |
1258 |
- unpack ${A} |
1259 |
- cd "${S}" |
1260 |
- |
1261 |
- if use minizip ; then |
1262 |
- cd contrib/minizip |
1263 |
- eautoreconf |
1264 |
- fi |
1265 |
-} |
1266 |
- |
1267 |
-echoit() { echo "$@"; "$@"; } |
1268 |
-src_compile() { |
1269 |
- case ${CHOST} in |
1270 |
- *-mingw*|mingw*) |
1271 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
1272 |
- sed \ |
1273 |
- -e 's|@prefix@|/usr|g' \ |
1274 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
1275 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1276 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1277 |
- -e 's|@includedir@|${prefix}/include|g' \ |
1278 |
- -e 's|@VERSION@|'${PV}'|g' \ |
1279 |
- zlib.pc.in > zlib.pc || die |
1280 |
- ;; |
1281 |
- *) # not an autoconf script, so can't use econf |
1282 |
- local uname=$(/usr/share/gnuconfig/config.sub "${CHOST}" | cut -d- -f3) #347167 |
1283 |
- echoit ./configure \ |
1284 |
- --shared \ |
1285 |
- --prefix=/usr \ |
1286 |
- --libdir=/usr/$(get_libdir) \ |
1287 |
- ${uname:+--uname=${uname}} \ |
1288 |
- || die |
1289 |
- emake || die |
1290 |
- ;; |
1291 |
- esac |
1292 |
- if use minizip ; then |
1293 |
- cd contrib/minizip |
1294 |
- econf $(use_enable static-libs static) |
1295 |
- emake || die |
1296 |
- fi |
1297 |
-} |
1298 |
- |
1299 |
-sed_macros() { |
1300 |
- # clean up namespace a little #383179 |
1301 |
- # we do it here so we only have to tweak 2 files |
1302 |
- sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "$@" || die |
1303 |
-} |
1304 |
-src_install() { |
1305 |
- case ${CHOST} in |
1306 |
- *-mingw*|mingw*) |
1307 |
- emake -f win32/Makefile.gcc install \ |
1308 |
- BINARY_PATH="${D}/usr/bin" \ |
1309 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
1310 |
- INCLUDE_PATH="${D}/usr/include" \ |
1311 |
- SHARED_MODE=1 \ |
1312 |
- || die |
1313 |
- insinto /usr/share/pkgconfig |
1314 |
- doins zlib.pc || die |
1315 |
- ;; |
1316 |
- |
1317 |
- *) |
1318 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
1319 |
- gen_usr_ldscript -a z |
1320 |
- ;; |
1321 |
- esac |
1322 |
- sed_macros "${D}"/usr/include/*.h |
1323 |
- |
1324 |
- dodoc FAQ README ChangeLog doc/*.txt |
1325 |
- |
1326 |
- if use minizip ; then |
1327 |
- cd contrib/minizip |
1328 |
- emake install DESTDIR="${D}" || die |
1329 |
- sed_macros "${D}"/usr/include/minizip/*.h |
1330 |
- dodoc *.txt |
1331 |
- fi |
1332 |
- |
1333 |
- use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib{z,minizip}.{a,la} #419645 |
1334 |
-} |
1335 |
|
1336 |
diff --git a/sys-libs/zlib/zlib-1.2.8.ebuild b/sys-libs/zlib/zlib-1.2.8.ebuild |
1337 |
deleted file mode 100644 |
1338 |
index af06d91..0000000 |
1339 |
--- a/sys-libs/zlib/zlib-1.2.8.ebuild |
1340 |
+++ /dev/null |
1341 |
@@ -1,99 +0,0 @@ |
1342 |
-# Copyright 1999-2013 Gentoo Foundation |
1343 |
-# Distributed under the terms of the GNU General Public License v2 |
1344 |
-# $Id$ |
1345 |
- |
1346 |
-AUTOTOOLS_AUTO_DEPEND="no" |
1347 |
-inherit autotools toolchain-funcs multilib |
1348 |
- |
1349 |
-DESCRIPTION="Standard (de)compression library" |
1350 |
-HOMEPAGE="http://www.zlib.net/" |
1351 |
-SRC_URI="http://zlib.net/${P}.tar.gz |
1352 |
- http://www.gzip.org/zlib/${P}.tar.gz |
1353 |
- http://www.zlib.net/current/beta/${P}.tar.gz" |
1354 |
- |
1355 |
-LICENSE="ZLIB" |
1356 |
-SLOT="0" |
1357 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
1358 |
-IUSE="minizip static-libs" |
1359 |
- |
1360 |
-DEPEND="minizip? ( ${AUTOTOOLS_DEPEND} )" |
1361 |
-RDEPEND="!<dev-libs/libxml2-2.7.7" #309623 |
1362 |
- |
1363 |
-src_unpack() { |
1364 |
- unpack ${A} |
1365 |
- cd "${S}" |
1366 |
- |
1367 |
- if use minizip ; then |
1368 |
- cd contrib/minizip |
1369 |
- eautoreconf |
1370 |
- fi |
1371 |
-} |
1372 |
- |
1373 |
-echoit() { echo "$@"; "$@"; } |
1374 |
-src_compile() { |
1375 |
- case ${CHOST} in |
1376 |
- *-mingw*|mingw*) |
1377 |
- emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- || die |
1378 |
- sed \ |
1379 |
- -e 's|@prefix@|/usr|g' \ |
1380 |
- -e 's|@exec_prefix@|${prefix}|g' \ |
1381 |
- -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1382 |
- -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ |
1383 |
- -e 's|@includedir@|${prefix}/include|g' \ |
1384 |
- -e 's|@VERSION@|'${PV}'|g' \ |
1385 |
- zlib.pc.in > zlib.pc || die |
1386 |
- ;; |
1387 |
- *) # not an autoconf script, so can't use econf |
1388 |
- local uname=$(/usr/share/gnuconfig/config.sub "${CHOST}" | cut -d- -f3) #347167 |
1389 |
- echoit ./configure \ |
1390 |
- --shared \ |
1391 |
- --prefix=/usr \ |
1392 |
- --libdir=/usr/$(get_libdir) \ |
1393 |
- ${uname:+--uname=${uname}} \ |
1394 |
- || die |
1395 |
- emake || die |
1396 |
- ;; |
1397 |
- esac |
1398 |
- if use minizip ; then |
1399 |
- cd contrib/minizip |
1400 |
- econf $(use_enable static-libs static) |
1401 |
- emake || die |
1402 |
- fi |
1403 |
-} |
1404 |
- |
1405 |
-sed_macros() { |
1406 |
- # clean up namespace a little #383179 |
1407 |
- # we do it here so we only have to tweak 2 files |
1408 |
- sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "$@" || die |
1409 |
-} |
1410 |
-src_install() { |
1411 |
- case ${CHOST} in |
1412 |
- *-mingw*|mingw*) |
1413 |
- emake -f win32/Makefile.gcc install \ |
1414 |
- BINARY_PATH="${D}/usr/bin" \ |
1415 |
- LIBRARY_PATH="${D}/usr/$(get_libdir)" \ |
1416 |
- INCLUDE_PATH="${D}/usr/include" \ |
1417 |
- SHARED_MODE=1 \ |
1418 |
- || die |
1419 |
- insinto /usr/share/pkgconfig |
1420 |
- doins zlib.pc || die |
1421 |
- ;; |
1422 |
- |
1423 |
- *) |
1424 |
- emake install DESTDIR="${D}" LDCONFIG=: || die |
1425 |
- gen_usr_ldscript -a z |
1426 |
- ;; |
1427 |
- esac |
1428 |
- sed_macros "${D}"/usr/include/*.h |
1429 |
- |
1430 |
- dodoc FAQ README ChangeLog doc/*.txt |
1431 |
- |
1432 |
- if use minizip ; then |
1433 |
- cd contrib/minizip |
1434 |
- emake install DESTDIR="${D}" || die |
1435 |
- sed_macros "${D}"/usr/include/minizip/*.h |
1436 |
- dodoc *.txt |
1437 |
- fi |
1438 |
- |
1439 |
- use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib{z,minizip}.{a,la} #419645 |
1440 |
-} |