1 |
commit: fb89f8f6053ab2d65cd1c7b1604aa0a1df8bf216 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 27 20:56:15 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 20:56:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb89f8f6 |
7 |
|
8 |
sci-biology/phylip: Version bump to 3.698 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/707150 |
11 |
Bug: https://bugs.gentoo.org/727982 |
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
sci-biology/phylip/Manifest | 1 + |
16 |
.../phylip/files/phylip-3.698-fno-common.patch | 70 ++++++ |
17 |
.../phylip/files/phylip-3.698-makefile.patch | 266 +++++++++++++++++++++ |
18 |
sci-biology/phylip/phylip-3.698.ebuild | 60 +++++ |
19 |
4 files changed, 397 insertions(+) |
20 |
|
21 |
diff --git a/sci-biology/phylip/Manifest b/sci-biology/phylip/Manifest |
22 |
index 5a714766bc1..2f29996a668 100644 |
23 |
--- a/sci-biology/phylip/Manifest |
24 |
+++ b/sci-biology/phylip/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST phylip-3.69.tar.gz 1511935 BLAKE2B 76aa5a79d2553c6f269c011f633d1101ee4d85ac398a36dd463e5605d90833ecb1e5f6c21edba3e142e2d4ab5ef034fa739e52e0ab3f941a7987915ae352be0b SHA512 e36d12bfe597896b4298c1d0e3b0b7bd783573dc03e861b9472d8284391b2339cb3fb58eb6580298724bbd516127b68925815455514f939da9272fcfed7e229d |
27 |
DIST phylip-3.696.tar.gz 3955721 BLAKE2B dc75fc442eb63e44bc2e68e5dc97b3ff8f741bfa53740ed57ca114b53dcb71db9baeb9a96c3e693f7fae92afbaa71c7b5acfb39e7770bacb6aafa8c33b355be6 SHA512 711a9a34be72b0f63c746733cd1384f091b7cc597dbd9a40c130e074efbf0a0ecc30e5a6b3452bb73dc69cddbdae2fc07d1c0a68f0be207471eab73ab876c6be |
28 |
+DIST phylip-3.698.zip 9675991 BLAKE2B 8d020cf17b3245b9827af4bdd1d17167c3e1a41ae805766c4b72f09de107775314a2a296c00f84f928487403cc02741fd46ae73585d0dba143f4b926777e9add SHA512 7f822dabd1ffdb6a689e0c308f5a3ae129bd86e305086a18c0c755ac3c6ca28a4337d52ced76b280706926370e23f19f304851ef82e32833d1945ed277f7d70d |
29 |
|
30 |
diff --git a/sci-biology/phylip/files/phylip-3.698-fno-common.patch b/sci-biology/phylip/files/phylip-3.698-fno-common.patch |
31 |
new file mode 100644 |
32 |
index 00000000000..986b1d9650a |
33 |
--- /dev/null |
34 |
+++ b/sci-biology/phylip/files/phylip-3.698-fno-common.patch |
35 |
@@ -0,0 +1,70 @@ |
36 |
+--- a/src/draw.c |
37 |
++++ b/src/draw.c |
38 |
+@@ -34,6 +34,11 @@ |
39 |
+ |
40 |
+ char fontname[LARGE_BUF_LENGTH]; |
41 |
+ |
42 |
++long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar, |
43 |
++ vrmlgroundcolornear, vrmlgroundcolorfar, vrmlplotcolor; |
44 |
++ |
45 |
++char afmfile[FNMLNGTH]; |
46 |
++ |
47 |
+ /* format of matrix: capheight, length[32],length[33],..length[256]*/ |
48 |
+ |
49 |
+ byte *full_pic ; |
50 |
+--- a/src/draw.h |
51 |
++++ b/src/draw.h |
52 |
+@@ -52,10 +52,10 @@ |
53 |
+ double intensity, x, y, z; |
54 |
+ } vrmllighttype; |
55 |
+ |
56 |
+-long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar, |
57 |
++extern long treecolor, namecolor, backcolor, bottomcolor, vrmlskycolornear, vrmlskycolorfar, |
58 |
+ vrmlgroundcolornear, vrmlgroundcolorfar, vrmlplotcolor; |
59 |
+ |
60 |
+-char afmfile[FNMLNGTH]; |
61 |
++extern char afmfile[FNMLNGTH]; |
62 |
+ |
63 |
+ double lengthtext(char *, long, char *, fonttype); |
64 |
+ double heighttext(fonttype, char *); |
65 |
+--- a/src/drawtree.c |
66 |
++++ b/src/drawtree.c |
67 |
+@@ -69,7 +69,7 @@ |
68 |
+ uselengths, regular, rotate, empty, rescaled, |
69 |
+ notfirst, improve, nbody, firstscreens, labelavoid; |
70 |
+ boolean pictbold,pictitalic,pictshadow,pictoutline; |
71 |
+-boolean javarun; |
72 |
++extern boolean javarun; |
73 |
+ |
74 |
+ striptype stripe; |
75 |
+ plottertype plotter, oldplotter; |
76 |
+--- a/src/phylip.c |
77 |
++++ b/src/phylip.c |
78 |
+@@ -34,6 +34,8 @@ |
79 |
+ |
80 |
+ #include "phylip.h" |
81 |
+ |
82 |
++boolean javarun; |
83 |
++ |
84 |
+ #ifdef WIN32 |
85 |
+ #include <windows.h> |
86 |
+ /* for console code (clear screen, text color settings) */ |
87 |
+--- a/src/phylip.h |
88 |
++++ b/src/phylip.h |
89 |
+@@ -331,7 +331,7 @@ |
90 |
+ /* Lower-triangular format. */ |
91 |
+ #define MAT_LOWERTRI (MAT_LOWER | MAT_MACHINE) |
92 |
+ |
93 |
+-boolean javarun; |
94 |
++extern boolean javarun; |
95 |
+ |
96 |
+ typedef long *steptr; |
97 |
+ typedef long longer[6]; |
98 |
+@@ -351,7 +351,6 @@ |
99 |
+ extern long spp, words, bits; |
100 |
+ extern boolean ibmpc, ansi, tranvsp; |
101 |
+ extern naym *nayme; /* names of species */ |
102 |
+-boolean firstplotblock; // for debugging BMP output |
103 |
+ |
104 |
+ #define ebcdic EBCDIC |
105 |
+ |
106 |
|
107 |
diff --git a/sci-biology/phylip/files/phylip-3.698-makefile.patch b/sci-biology/phylip/files/phylip-3.698-makefile.patch |
108 |
new file mode 100644 |
109 |
index 00000000000..f55ab98dd9c |
110 |
--- /dev/null |
111 |
+++ b/sci-biology/phylip/files/phylip-3.698-makefile.patch |
112 |
@@ -0,0 +1,266 @@ |
113 |
+--- a/src/Makefile.unx |
114 |
++++ b/src/Makefile.unx |
115 |
+@@ -81,7 +81,6 @@ |
116 |
+ #CC = cc |
117 |
+ # |
118 |
+ # To use GCC instead: |
119 |
+-CC = gcc |
120 |
+ # |
121 |
+ # ---------------------------------------------------------------------------- |
122 |
+ # |
123 |
+@@ -91,7 +90,6 @@ |
124 |
+ # |
125 |
+ # |
126 |
+ #A minimal one |
127 |
+-CFLAGS = |
128 |
+ # |
129 |
+ # A basic one for debugging |
130 |
+ #CFLAGS = -g |
131 |
+@@ -220,7 +218,7 @@ |
132 |
+ @echo "Done." |
133 |
+ @echo "" |
134 |
+ |
135 |
+-put: |
136 |
++put: all |
137 |
+ @echo "Installing PHYLIP v3.6 binaries in $(EXEDIR)" |
138 |
+ @mkdir -p $(EXEDIR) |
139 |
+ @cp $(PROGS) $(EXEDIR) |
140 |
+@@ -270,195 +268,195 @@ |
141 |
+ clique.o: clique.c disc.h phylip.h |
142 |
+ |
143 |
+ clique: clique.o disc.o phylip.o |
144 |
+- $(CC) $(CFLAGS) clique.o disc.o phylip.o $(LIBS) -o clique |
145 |
++ $(CC) $(LDFLAGS) clique.o disc.o phylip.o $(LIBS) -o clique |
146 |
+ |
147 |
+ cons.o: cons.c cons.h phylip.h |
148 |
+ |
149 |
+ consense.o: consense.c cons.h phylip.h |
150 |
+ |
151 |
+ consense: consense.o phylip.o cons.o |
152 |
+- $(CC) $(CFLAGS) consense.o phylip.o cons.o $(LIBS) -o consense |
153 |
++ $(CC) $(LDFLAGS) consense.o phylip.o cons.o $(LIBS) -o consense |
154 |
+ |
155 |
+ contml.o: contml.c cont.h phylip.h |
156 |
+ |
157 |
+ contml: contml.o cont.o phylip.o |
158 |
+- $(CC) $(CFLAGS) contml.o cont.o phylip.o $(LIBS) -o contml |
159 |
++ $(CC) $(LDFLAGS) contml.o cont.o phylip.o $(LIBS) -o contml |
160 |
+ |
161 |
+ contrast.o: contrast.c cont.h phylip.h |
162 |
+ |
163 |
+ contrast: contrast.o cont.o phylip.o |
164 |
+- $(CC) $(CFLAGS) contrast.o cont.o phylip.o $(LIBS) -o contrast |
165 |
++ $(CC) $(LDFLAGS) contrast.o cont.o phylip.o $(LIBS) -o contrast |
166 |
+ |
167 |
+ dnacomp.o: dnacomp.c seq.h phylip.h |
168 |
+ |
169 |
+ dnacomp: dnacomp.o seq.o phylip.o |
170 |
+- $(CC) $(CFLAGS) dnacomp.o seq.o phylip.o $(LIBS) -o dnacomp |
171 |
++ $(CC) $(LDFLAGS) dnacomp.o seq.o phylip.o $(LIBS) -o dnacomp |
172 |
+ |
173 |
+ dnadist.o: dnadist.c seq.h phylip.h |
174 |
+ |
175 |
+ dnadist: dnadist.o seq.o phylip.o |
176 |
+- $(CC) $(CFLAGS) dnadist.o seq.o phylip.o $(LIBS) -o dnadist |
177 |
++ $(CC) $(LDFLAGS) dnadist.o seq.o phylip.o $(LIBS) -o dnadist |
178 |
+ |
179 |
+ dnainvar.o: dnainvar.c seq.h phylip.h |
180 |
+ |
181 |
+ dnainvar: dnainvar.o seq.o phylip.o |
182 |
+- $(CC) $(CFLAGS) dnainvar.o seq.o phylip.o $(LIBS) -o dnainvar |
183 |
++ $(CC) $(LDFLAGS) dnainvar.o seq.o phylip.o $(LIBS) -o dnainvar |
184 |
+ |
185 |
+ dnaml.o: dnaml.c seq.h phylip.h |
186 |
+ |
187 |
+ dnaml: dnaml.o seq.o phylip.o |
188 |
+- $(CC) $(CFLAGS) dnaml.o seq.o phylip.o $(LIBS) -o dnaml |
189 |
++ $(CC) $(LDFLAGS) dnaml.o seq.o phylip.o $(LIBS) -o dnaml |
190 |
+ |
191 |
+ dnamlk.o: dnamlk.c seq.h phylip.h mlclock.h printree.h |
192 |
+ |
193 |
+ dnamlk: dnamlk.o seq.o phylip.o mlclock.o printree.o |
194 |
+- $(CC) $(CFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o dnamlk |
195 |
++ $(CC) $(LDFLAGS) dnamlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o dnamlk |
196 |
+ |
197 |
+ dnamove.o: dnamove.c seq.h moves.h phylip.h |
198 |
+ |
199 |
+ dnamove: dnamove.o seq.o moves.o phylip.o |
200 |
+- $(CC) $(CFLAGS) dnamove.o seq.o moves.o phylip.o $(LIBS) -o dnamove |
201 |
++ $(CC) $(LDFLAGS) dnamove.o seq.o moves.o phylip.o $(LIBS) -o dnamove |
202 |
+ |
203 |
+ dnapenny.o: dnapenny.c seq.h phylip.h |
204 |
+ |
205 |
+ dnapenny: dnapenny.o seq.o phylip.o |
206 |
+- $(CC) $(CFLAGS) dnapenny.o seq.o phylip.o $(LIBS) -o dnapenny |
207 |
++ $(CC) $(LDFLAGS) dnapenny.o seq.o phylip.o $(LIBS) -o dnapenny |
208 |
+ |
209 |
+ dnapars.o: dnapars.c seq.h phylip.h |
210 |
+ |
211 |
+ dnapars: dnapars.o seq.o phylip.o |
212 |
+- $(CC) $(CFLAGS) dnapars.o seq.o phylip.o $(LIBS) -o dnapars |
213 |
++ $(CC) $(LDFLAGS) dnapars.o seq.o phylip.o $(LIBS) -o dnapars |
214 |
+ |
215 |
+ dolmove.o: dolmove.c disc.h moves.h dollo.h phylip.h |
216 |
+ |
217 |
+ dolmove: dolmove.o disc.o moves.o dollo.o phylip.o |
218 |
+- $(CC) $(CFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o $(LIBS) -o dolmove |
219 |
++ $(CC) $(LDFLAGS) dolmove.o disc.o moves.o dollo.o phylip.o $(LIBS) -o dolmove |
220 |
+ |
221 |
+ dollop.o: dollop.c disc.h dollo.h phylip.h |
222 |
+ |
223 |
+ dollop: dollop.o disc.o dollo.o phylip.o |
224 |
+- $(CC) $(CFLAGS) dollop.o disc.o dollo.o phylip.o $(LIBS) -o dollop |
225 |
++ $(CC) $(LDFLAGS) dollop.o disc.o dollo.o phylip.o $(LIBS) -o dollop |
226 |
+ |
227 |
+ dolpenny.o: dolpenny.c disc.h dollo.h phylip.h |
228 |
+ |
229 |
+ dolpenny: dolpenny.o disc.o dollo.o phylip.o |
230 |
+- $(CC) $(CFLAGS) dolpenny.o disc.o dollo.o phylip.o $(LIBS) -o dolpenny |
231 |
++ $(CC) $(LDFLAGS) dolpenny.o disc.o dollo.o phylip.o $(LIBS) -o dolpenny |
232 |
+ |
233 |
+ draw.o: draw.c draw.h phylip.h |
234 |
+- $(CC) $(DFLAGS) -c draw.c |
235 |
++ $(CC) $(DFLAGS) $(CPPFLAGS) -c draw.c |
236 |
+ |
237 |
+ draw2.o: draw2.c draw.h phylip.h |
238 |
+- $(CC) $(DFLAGS) -c draw2.c |
239 |
++ $(CC) $(DFLAGS) $(CPPFLAGS) -c draw2.c |
240 |
+ |
241 |
+ drawgram.o: drawgram.c draw.h phylip.h |
242 |
+- $(CC) $(DFLAGS) -c drawgram.c |
243 |
++ $(CC) $(DFLAGS) $(CPPFLAGS) -c drawgram.c |
244 |
+ |
245 |
+ drawgram: drawgram.o draw.o draw2.o phylip.o |
246 |
+- $(CC) $(DFLAGS) draw.o draw2.o drawgram.o phylip.o $(DLIBS) -o drawgram |
247 |
++ $(CC) $(LDFLAGS) draw.o draw2.o drawgram.o phylip.o $(DLIBS) -o drawgram |
248 |
+ |
249 |
+ # needed by java |
250 |
+-libdrawgram.so: drawgram.o draw.o draw2.o phylip.o |
251 |
+- $(CC) $(CFLAGS) -o libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(CLIBS) |
252 |
++libdrawgram.so: |
253 |
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o libdrawgram.so -Wl,-soname,libdrawgram.so -shared -fPIC drawgram.c draw.c draw2.c phylip.c $(CLIBS) |
254 |
+ |
255 |
+ drawtree.o: drawtree.c draw.h phylip.h |
256 |
+- $(CC) $(DFLAGS) -shared -fPIC -c drawtree.c |
257 |
++ $(CC) $(DFLAGS) $(CPPFLAGS) -c drawtree.c |
258 |
+ |
259 |
+ drawtree: drawtree.o draw.o draw2.o phylip.o |
260 |
+- $(CC) $(DFLAGS) draw.o draw2.o drawtree.o phylip.o $(DLIBS) -o drawtree |
261 |
++ $(CC) $(LDFLAGS) draw.o draw2.o drawtree.o phylip.o $(DLIBS) -o drawtree |
262 |
+ |
263 |
+ # needed by java |
264 |
+-libdrawtree.so: drawtree.o draw.o draw2.o phylip.o |
265 |
+- $(CC) $(CFLAGS) -o libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(CLIBS) |
266 |
++libdrawtree.so: |
267 |
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o libdrawtree.so -Wl,-soname,libdrawtree.so -shared -fPIC drawtree.c draw.c draw2.c phylip.c $(CLIBS) |
268 |
+ |
269 |
+ factor.o: factor.c phylip.h |
270 |
+ |
271 |
+ factor: factor.o phylip.o |
272 |
+- $(CC) $(CFLAGS) factor.o phylip.o $(LIBS) -o factor |
273 |
++ $(CC) $(LDFLAGS) factor.o phylip.o $(LIBS) -o factor |
274 |
+ |
275 |
+ fitch.o: fitch.c dist.h phylip.h |
276 |
+ |
277 |
+ fitch: fitch.o dist.o phylip.o |
278 |
+- $(CC) $(CFLAGS) fitch.o dist.o phylip.o $(LIBS) -o fitch |
279 |
++ $(CC) $(LDFLAGS) fitch.o dist.o phylip.o $(LIBS) -o fitch |
280 |
+ |
281 |
+ gendist.o: gendist.c phylip.h |
282 |
+ |
283 |
+ gendist: gendist.o phylip.o |
284 |
+- $(CC) $(CFLAGS) gendist.o phylip.o $(LIBS) -o gendist |
285 |
++ $(CC) $(LDFLAGS) gendist.o phylip.o $(LIBS) -o gendist |
286 |
+ |
287 |
+ kitsch.o: kitsch.c dist.h phylip.h |
288 |
+ |
289 |
+ kitsch: kitsch.o dist.o phylip.o |
290 |
+- $(CC) $(CFLAGS) kitsch.o dist.o phylip.o $(LIBS) -o kitsch |
291 |
++ $(CC) $(LDFLAGS) kitsch.o dist.o phylip.o $(LIBS) -o kitsch |
292 |
+ |
293 |
+ mix.o: mix.c disc.h wagner.h phylip.h |
294 |
+ |
295 |
+ mix: mix.o disc.o wagner.o phylip.o |
296 |
+- $(CC) $(CFLAGS) mix.o disc.o wagner.o phylip.o $(LIBS) -o mix |
297 |
++ $(CC) $(LDFLAGS) mix.o disc.o wagner.o phylip.o $(LIBS) -o mix |
298 |
+ |
299 |
+ move.o: move.c disc.h moves.h wagner.h phylip.h |
300 |
+ |
301 |
+ move: move.o disc.o moves.o wagner.o phylip.o |
302 |
+- $(CC) $(CFLAGS) move.o disc.o moves.o wagner.o phylip.o $(LIBS) -o move |
303 |
++ $(CC) $(LDFLAGS) move.o disc.o moves.o wagner.o phylip.o $(LIBS) -o move |
304 |
+ |
305 |
+ neighbor.o: neighbor.c dist.h phylip.h |
306 |
+ |
307 |
+ neighbor: neighbor.o dist.o phylip.o |
308 |
+- $(CC) $(CFLAGS) neighbor.o dist.o phylip.o $(LIBS) -o neighbor |
309 |
++ $(CC) $(LDFLAGS) neighbor.o dist.o phylip.o $(LIBS) -o neighbor |
310 |
+ |
311 |
+ pars.o: pars.c discrete.h phylip.h |
312 |
+ |
313 |
+ pars: pars.o discrete.o phylip.o |
314 |
+- $(CC) $(CFLAGS) pars.o discrete.o phylip.o $(LIBS) -o pars |
315 |
++ $(CC) $(LDFLAGS) pars.o discrete.o phylip.o $(LIBS) -o pars |
316 |
+ |
317 |
+ penny.o: penny.c disc.h wagner.h phylip.h |
318 |
+ |
319 |
+ penny: penny.o disc.o wagner.o phylip.o |
320 |
+- $(CC) $(CFLAGS) penny.o disc.o wagner.o phylip.o $(LIBS) -o penny |
321 |
++ $(CC) $(LDFLAGS) penny.o disc.o wagner.o phylip.o $(LIBS) -o penny |
322 |
+ |
323 |
+ proml.o: proml.c seq.h phylip.h |
324 |
+ |
325 |
+ proml: proml.o seq.o phylip.o |
326 |
+- $(CC) $(CFLAGS) proml.o seq.o phylip.o $(LIBS) -o proml |
327 |
++ $(CC) $(LDFLAGS) proml.o seq.o phylip.o $(LIBS) -o proml |
328 |
+ |
329 |
+ promlk.o: promlk.c seq.h phylip.h mlclock.h printree.h |
330 |
+ |
331 |
+ promlk: promlk.o seq.o phylip.o mlclock.o printree.o |
332 |
+- $(CC) $(CFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o promlk |
333 |
++ $(CC) $(LDFLAGS) promlk.o seq.o phylip.o mlclock.o printree.o $(LIBS) -o promlk |
334 |
+ |
335 |
+ protdist.o: protdist.c seq.h phylip.h |
336 |
+ |
337 |
+ protdist: protdist.o seq.o phylip.o |
338 |
+- $(CC) $(CFLAGS) protdist.o seq.o phylip.o $(LIBS) -o protdist |
339 |
++ $(CC) $(LDFLAGS) protdist.o seq.o phylip.o $(LIBS) -o protdist |
340 |
+ |
341 |
+ protpars.o: protpars.c seq.h phylip.h |
342 |
+ |
343 |
+ protpars: protpars.o seq.o phylip.o |
344 |
+- $(CC) $(CFLAGS) protpars.o seq.o phylip.o $(LIBS) -o protpars |
345 |
++ $(CC) $(LDFLAGS) protpars.o seq.o phylip.o $(LIBS) -o protpars |
346 |
+ |
347 |
+ restdist.o: restdist.c seq.h phylip.h |
348 |
+ |
349 |
+ restdist: restdist.o seq.o phylip.o |
350 |
+- $(CC) $(CFLAGS) restdist.o seq.o phylip.o $(LIBS) -o restdist |
351 |
++ $(CC) $(LDFLAGS) restdist.o seq.o phylip.o $(LIBS) -o restdist |
352 |
+ |
353 |
+ restml.o: restml.c seq.h phylip.h |
354 |
+ |
355 |
+ restml: restml.o seq.o phylip.o |
356 |
+- $(CC) $(CFLAGS) restml.o seq.o phylip.o $(LIBS) -o restml |
357 |
++ $(CC) $(LDFLAGS) restml.o seq.o phylip.o $(LIBS) -o restml |
358 |
+ |
359 |
+ retree.o: retree.c moves.h phylip.h |
360 |
+ |
361 |
+ retree: retree.o moves.o phylip.o |
362 |
+- $(CC) $(CFLAGS) retree.o moves.o phylip.o $(LIBS) -o retree |
363 |
++ $(CC) $(LDFLAGS) retree.o moves.o phylip.o $(LIBS) -o retree |
364 |
+ |
365 |
+ seqboot.o: seqboot.c phylip.h |
366 |
+ |
367 |
+ seqboot: seqboot.o seq.o phylip.o |
368 |
+- $(CC) $(CFLAGS) seqboot.o seq.o phylip.o $(LIBS) -o seqboot |
369 |
++ $(CC) $(LDFLAGS) seqboot.o seq.o phylip.o $(LIBS) -o seqboot |
370 |
+ |
371 |
+ treedist.o: treedist.c cons.h phylip.h |
372 |
+ |
373 |
+ treedist: treedist.o phylip.o cons.o |
374 |
+- $(CC) $(CFLAGS) treedist.o cons.o phylip.o $(LIBS) -o treedist |
375 |
++ $(CC) $(LDFLAGS) treedist.o cons.o phylip.o $(LIBS) -o treedist |
376 |
+ |
377 |
+ |
378 |
+ # ---------------------------------------------------------------------------- |
379 |
|
380 |
diff --git a/sci-biology/phylip/phylip-3.698.ebuild b/sci-biology/phylip/phylip-3.698.ebuild |
381 |
new file mode 100644 |
382 |
index 00000000000..0a8ef8f815e |
383 |
--- /dev/null |
384 |
+++ b/sci-biology/phylip/phylip-3.698.ebuild |
385 |
@@ -0,0 +1,60 @@ |
386 |
+# Copyright 1999-2020 Gentoo Authors |
387 |
+# Distributed under the terms of the GNU General Public License v2 |
388 |
+ |
389 |
+EAPI=7 |
390 |
+ |
391 |
+inherit flag-o-matic toolchain-funcs |
392 |
+ |
393 |
+DESCRIPTION=" The PHYLogeny Inference Package" |
394 |
+HOMEPAGE="http://evolution.genetics.washington.edu/phylip.html" |
395 |
+SRC_URI="http://evolution.gs.washington.edu/${PN}/download/${P}.zip" |
396 |
+ |
397 |
+LICENSE="BSD-2" |
398 |
+SLOT="0" |
399 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
400 |
+ |
401 |
+# 'mix' tool collides with dev-lang/elixir, bug #537514 |
402 |
+RDEPEND=" |
403 |
+ x11-libs/libXaw |
404 |
+ !dev-lang/elixir" |
405 |
+DEPEND="${RDEPEND} |
406 |
+ x11-base/xorg-proto" |
407 |
+BDEPEND="app-arch/unzip" |
408 |
+ |
409 |
+PATCHES=( |
410 |
+ "${FILESDIR}"/${P}-makefile.patch |
411 |
+ "${FILESDIR}"/${P}-fno-common.patch |
412 |
+) |
413 |
+ |
414 |
+src_prepare() { |
415 |
+ default |
416 |
+ |
417 |
+ mkdir fonts || die |
418 |
+ # clear out old binaries |
419 |
+ rm -r exe || die |
420 |
+} |
421 |
+ |
422 |
+src_configure() { |
423 |
+ tc-export CC |
424 |
+ append-cflags -Wno-unused-result |
425 |
+} |
426 |
+ |
427 |
+src_compile() { |
428 |
+ emake -C src -f Makefile.unx all put |
429 |
+} |
430 |
+ |
431 |
+src_install() { |
432 |
+ mv exe/font* fonts || die "Font move failed" |
433 |
+ mv exe/factor exe/factor-${PN} || die "Renaming factor failed" |
434 |
+ |
435 |
+ dolib.so exe/*so |
436 |
+ rm exe/*so || die |
437 |
+ dobin exe/* |
438 |
+ |
439 |
+ dodoc "${FILESDIR}"/README.Gentoo |
440 |
+ docinto html |
441 |
+ dodoc -r phylip.html doc |
442 |
+ |
443 |
+ insinto /usr/share/phylip |
444 |
+ doins -r fonts |
445 |
+} |