Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/tinker: tinker-4.2-r1.ebuild
Date: Thu, 31 Jan 2008 19:55:35
Message-Id: E1JKfVT-0004J8-MH@stork.gentoo.org
1 grobian 08/01/31 19:55:31
2
3 Modified: tinker-4.2-r1.ebuild
4 Log:
5 Drop ppc-macos conditionals
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.2 sci-chemistry/tinker/tinker-4.2-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild?r1=1.1&r2=1.2
14
15 Index: tinker-4.2-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- tinker-4.2-r1.ebuild 21 Jun 2006 14:17:21 -0000 1.1
22 +++ tinker-4.2-r1.ebuild 31 Jan 2008 19:55:31 -0000 1.2
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2006 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild,v 1.1 2006/06/21 14:17:21 spyderous Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-4.2-r1.ebuild,v 1.2 2008/01/31 19:55:31 grobian Exp $
28
29 inherit fortran toolchain-funcs
30
31 @@ -18,17 +18,13 @@
32 || ( dev-java/blackdown-java3d-bin
33 dev-java/sun-java3d-bin )
34 )"
35 -S="${WORKDIR}/tinker/source"
36 +S=${WORKDIR}/tinker/source
37
38 src_compile() {
39 if use X; then
40 COMPGUI="./compgui.make"
41 LINK="./linkgui.make"
42 - if use ppc-macos; then
43 - cp ../jar/macosx/sockets.c .
44 - else
45 - cp ../jar/linux/sockets.c .
46 - fi
47 + cp ../jar/linux/sockets.c .
48 else
49 LINK="./link.make"
50 fi
51 @@ -39,9 +35,7 @@
52 # Need to make sure all of the appropriate config files are in place
53 # for the build.
54 # This should be easily customizable for other Fortran compilers, e.g. pg77.
55 - if use ppc-macos; then
56 - cp ../apple/gnu/* .
57 - elif [ "${FORTRANC}" = "ifc" ]; then
58 + if [[ ${FORTRANC} == "ifc" ]]; then
59 cp ../linux/intel/* .
60 else
61 cp ../linux/gnu/* .
62 @@ -90,11 +84,7 @@
63 ${WORKDIR}/tinker/doc/*.pdf
64
65 if use X; then
66 - if use ppc-macos; then
67 - dolib.so ${WORKDIR}/tinker/jar/macosx/libffe.jnilib
68 - else
69 - dolib.so ${WORKDIR}/tinker/jar/linux/libffe.so
70 - fi
71 + dolib.so ${WORKDIR}/tinker/jar/linux/libffe.so
72 fi
73
74 dolib.a libtinker.a
75
76
77
78 --
79 gentoo-commits@l.g.o mailing list