Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/openssl/files: gentoo.config-0.9.8
Date: Sun, 21 Jun 2009 11:40:36
Message-Id: E1MILPW-0000E5-6p@stork.gentoo.org
1 grobian 09/06/21 11:40:34
2
3 Modified: gentoo.config-0.9.8
4 Log:
5 update gentoo.config script to include support for Prefix arches
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.17 dev-libs/openssl/files/gentoo.config-0.9.8
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8?rev=1.17&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8?rev=1.17&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8?r1=1.16&r2=1.17
14
15 Index: gentoo.config-0.9.8
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8,v
18 retrieving revision 1.16
19 retrieving revision 1.17
20 diff -u -r1.16 -r1.17
21 --- gentoo.config-0.9.8 1 Apr 2007 11:03:52 -0000 1.16
22 +++ gentoo.config-0.9.8 21 Jun 2009 11:40:34 -0000 1.17
23 @@ -1,7 +1,7 @@
24 -#!/bin/bash
25 -# Copyright 1999-2005 Gentoo Foundation
26 +#!/usr/bin/env bash
27 +# Copyright 1999-2009 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8,v 1.16 2007/04/01 11:03:52 vapier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8,v 1.17 2009/06/21 11:40:34 grobian Exp $
31 #
32 # Openssl doesn't play along nicely with cross-compiling
33 # like autotools based projects, so let's teach it new tricks.
34 @@ -26,6 +26,12 @@
35 "hppa64-aldsF-linux-gnu5.3 |linux-generic32 -DB_ENDIAN" \
36 "powerpc-gentOO-linux-uclibc |linux-ppc" \
37 "powerpc64-unk-linux-gnu |linux-ppc64" \
38 + "x86_64-apple-darwinX |darwin64-x86_64-cc" \
39 + "powerpc64-apple-darwinX |darwin64-ppc-cc" \
40 + "i686-apple-darwinX |darwin-i386-cc" \
41 + "i386-apple-darwinX |darwin-i386-cc" \
42 + "powerpc-apple-darwinX |darwin-ppc-cc" \
43 + "i586-pc-winnt |winnt-parity" \
44 ;do
45 CHOST=${c/|*}
46 ret_want=${c/*|}
47 @@ -46,8 +52,13 @@
48
49 # Detect the operating system
50 case ${CHOST} in
51 - *-linux*) system="linux";;
52 + *-aix*) system="aix";;
53 + *-darwin*) system="darwin";;
54 *-freebsd*) system="BSD";;
55 + *-hpux*) system="hpux";;
56 + *-linux*) system="linux";;
57 + *-solaris*) system="solaris";;
58 + *-winnt*) system="winnt";;
59 *) exit 0;;
60 esac
61
62 @@ -100,6 +111,33 @@
63 *) machine=generic32;;
64 esac
65 ;;
66 +aix)
67 + machine=${compiler}
68 + ;;
69 +darwin)
70 + case ${chost_machine} in
71 + powerpc64) machine=ppc-cc; system=${system}64;;
72 + powerpc) machine=ppc-cc;;
73 + i?86*) machine=i386-cc;;
74 + x86_64) machine=x86_64-cc; system=${system}64;;
75 + esac
76 + ;;
77 +hpux)
78 + case ${chost_machine} in
79 + ia64) machine=ia64-${compiler} ;;
80 + esac
81 + ;;
82 +solaris)
83 + case ${chost_machine} in
84 + i386) machine=x86-${compiler} ;;
85 + x86_64*) machine=x86_64-${compiler}; system=${system}64;;
86 + sparcv9*) machine=sparcv9-${compiler}; system=${system}64;;
87 + sparc*) machine=sparcv8-${compiler};;
88 + esac
89 + ;;
90 +winnt)
91 + machine=parity
92 + ;;
93 esac