Gentoo Archives: gentoo-commits

From: "Donnie Berkholz (dberkholz)" <dberkholz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/cns/files: 1.2-allow-unknown-architectures.patch
Date: Thu, 10 Jan 2008 04:43:07
Message-Id: E1JCpFw-0004jb-IE@stork.gentoo.org
1 dberkholz 08/01/10 04:43:04
2
3 Added: 1.2-allow-unknown-architectures.patch
4 Log:
5 Add a patch to make CNS compile on unknown architecture/OS combinations, of which ppc is one.
6 (Portage version: 2.1.4_rc9)
7
8 Revision Changes Path
9 1.1 sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/cns/files/1.2-allow-unknown-architectures.patch?rev=1.1&content-type=text/plain
13
14 Index: 1.2-allow-unknown-architectures.patch
15 ===================================================================
16 --- cns_solve_1.2.orig/bin/install 2008-01-09 17:21:43.000000000 -0800
17 +++ cns_solve_1.2/bin/install 2008-01-09 17:21:59.000000000 -0800
18 @@ -78,12 +78,6 @@
19 exit 1
20 endif
21 #
22 -if ( $CNS_ARCH =~ unknown* ) then
23 - echo "the architecture of the machine is unknown - CNS_ARCH=$CNS_ARCH"
24 - echo 'aborting installation'
25 - exit 1
26 -endif
27 -#
28 set prod=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $1}'`
29 set cpu=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $2}' | sed 's/[0-9]*\.*[0-9]*$//'`
30 set os=`echo $CNS_ARCH | awk 'BEGIN{FS="-"}{print $3}'`
31
32
33
34 --
35 gentoo-commits@l.g.o mailing list