1 |
xarthisius 12/09/30 19:50:53 |
2 |
|
3 |
Added: xephem-3.7.5-respect-flags.patch |
4 |
Log: |
5 |
Respect AR, RANLIB wrt #436646 by Agostino Sarubbo <ago@g.o> |
6 |
|
7 |
(Portage version: 2.2.0_alpha131/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-astronomy/xephem/files/xephem-3.7.5-respect-flags.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/xephem/files/xephem-3.7.5-respect-flags.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/xephem/files/xephem-3.7.5-respect-flags.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xephem-3.7.5-respect-flags.patch |
16 |
=================================================================== |
17 |
Respect AR, RANLIB |
18 |
|
19 |
https://bugs.gentoo.org/show_bug.cgi?id=436646 |
20 |
|
21 |
Patch written by Kacper Kowalik <xarthisius@g.o> |
22 |
--- a/libastro/Makefile |
23 |
+++ b/libastro/Makefile |
24 |
@@ -79,8 +79,8 @@ OBJS = \ |
25 |
vsop87_data.o |
26 |
|
27 |
libastro.a: $(HS) $(OBJS) |
28 |
- ar rv $@ $(OBJS) |
29 |
- ranlib $@ |
30 |
+ $(AR) rv $@ $(OBJS) |
31 |
+ $(RANLIB) $@ |
32 |
|
33 |
libastro.so: $(HS) $(OBJS) |
34 |
$(CC) $(LDFLAGS) -shared -o $@ $(OBJS) |
35 |
--- a/libip/Makefile |
36 |
+++ b/libip/Makefile |
37 |
@@ -35,8 +35,8 @@ OBJS = \ |
38 |
HS = ip.h fsmatch.h |
39 |
|
40 |
libip.a: $(HS) $(OBJS) |
41 |
- ar rv $@ $(OBJS) |
42 |
- ranlib $@ |
43 |
+ $(AR) rv $@ $(OBJS) |
44 |
+ $(RANLIB) $@ |
45 |
|
46 |
libip.so: $(OBJS) |
47 |
$(CC) $(LDFLAGS) -shared -o $@ $(OBJS) |
48 |
--- a/libjpegd/Makefile |
49 |
+++ b/libjpegd/Makefile |
50 |
@@ -62,8 +62,8 @@ OBJS = \ |
51 |
jutils.o |
52 |
|
53 |
libjpegd.a: $(HS) $(OBJS) |
54 |
- ar r $@ $(OBJS) |
55 |
- ranlib $@ |
56 |
+ $(AR) r $@ $(OBJS) |
57 |
+ $(RANLIB) $@ |
58 |
|
59 |
clobber: |
60 |
touch x.o x.a |
61 |
--- a/liblilxml/Makefile |
62 |
+++ b/liblilxml/Makefile |
63 |
@@ -24,8 +24,8 @@ HS = lilxml.h |
64 |
OBJS = lilxml.o base64.o |
65 |
|
66 |
liblilxml.a: $(HS) $(OBJS) |
67 |
- ar r $@ $(OBJS) |
68 |
- ranlib $@ |
69 |
+ $(AR) r $@ $(OBJS) |
70 |
+ $(RANLIB) $@ |
71 |
|
72 |
liltest: liltest.o liblilxml.a |
73 |
$(CC) $(LDFLAGS) -o liltest liltest.o liblilxml.a |