1 |
commit: b59b7705da30eb4cf4eef69946757fe3d11b763f |
2 |
Author: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 22:51:32 2016 +0000 |
4 |
Commit: Doug Goldstein <cardoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 26 22:51:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59b7705 |
7 |
|
8 |
dev-libs/openssl: remove no longer necessary file |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org> |
12 |
|
13 |
dev-libs/openssl/files/gentoo.config-1.0.1 | 164 ----------------------------- |
14 |
1 file changed, 164 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/openssl/files/gentoo.config-1.0.1 b/dev-libs/openssl/files/gentoo.config-1.0.1 |
17 |
deleted file mode 100644 |
18 |
index 24c995a..0000000 |
19 |
--- a/dev-libs/openssl/files/gentoo.config-1.0.1 |
20 |
+++ /dev/null |
21 |
@@ -1,164 +0,0 @@ |
22 |
-#!/usr/bin/env bash |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
-# |
27 |
-# Openssl doesn't play along nicely with cross-compiling |
28 |
-# like autotools based projects, so let's teach it new tricks. |
29 |
-# |
30 |
-# Review the bundled 'config' script to see why kind of targets |
31 |
-# we can pass to the 'Configure' script. |
32 |
- |
33 |
- |
34 |
-# Testing routines |
35 |
-if [[ $1 == "test" ]] ; then |
36 |
- for c in \ |
37 |
- "arm-gentoo-linux-uclibc |linux-generic32 -DL_ENDIAN" \ |
38 |
- "armv5b-linux-gnu |linux-armv4 -DB_ENDIAN" \ |
39 |
- "x86_64-pc-linux-gnu |linux-x86_64" \ |
40 |
- "alpha-linux-gnu |linux-alpha-gcc" \ |
41 |
- "alphaev56-unknown-linux-gnu |linux-alpha+bwx-gcc" \ |
42 |
- "i686-pc-linux-gnu |linux-elf" \ |
43 |
- "whatever-gentoo-freebsdX.Y |BSD-generic32" \ |
44 |
- "i686-gentoo-freebsdX.Y |BSD-x86-elf" \ |
45 |
- "sparc64-alpha-freebsdX.Y |BSD-sparc64" \ |
46 |
- "ia64-gentoo-freebsd5.99234 |BSD-ia64" \ |
47 |
- "x86_64-gentoo-freebsdX.Y |BSD-x86_64" \ |
48 |
- "hppa64-aldsF-linux-gnu5.3 |linux-generic32 -DB_ENDIAN" \ |
49 |
- "powerpc-gentOO-linux-uclibc |linux-ppc" \ |
50 |
- "powerpc64-unk-linux-gnu |linux-ppc64" \ |
51 |
- "x86_64-apple-darwinX |darwin64-x86_64-cc" \ |
52 |
- "powerpc64-apple-darwinX |darwin64-ppc-cc" \ |
53 |
- "i686-apple-darwinX |darwin-i386-cc" \ |
54 |
- "i386-apple-darwinX |darwin-i386-cc" \ |
55 |
- "powerpc-apple-darwinX |darwin-ppc-cc" \ |
56 |
- "i586-pc-winnt |winnt-parity" \ |
57 |
- "s390-ibm-linux-gnu |linux-generic32 -DB_ENDIAN" \ |
58 |
- "s390x-linux-gnu |linux64-s390x" \ |
59 |
- ;do |
60 |
- CHOST=${c/|*} |
61 |
- ret_want=${c/*|} |
62 |
- ret_got=$(CHOST=${CHOST} "$0") |
63 |
- |
64 |
- if [[ ${ret_want} == "${ret_got}" ]] ; then |
65 |
- echo "PASS: ${CHOST}" |
66 |
- else |
67 |
- echo "FAIL: ${CHOST}" |
68 |
- echo -e "\twanted: ${ret_want}" |
69 |
- echo -e "\twe got: ${ret_got}" |
70 |
- fi |
71 |
- done |
72 |
- exit 0 |
73 |
-fi |
74 |
-[[ -z ${CHOST} && -n $1 ]] && CHOST=$1 |
75 |
- |
76 |
- |
77 |
-# Detect the operating system |
78 |
-case ${CHOST} in |
79 |
- *-aix*) system="aix";; |
80 |
- *-darwin*) system="darwin";; |
81 |
- *-freebsd*) system="BSD";; |
82 |
- *-hpux*) system="hpux";; |
83 |
- *-linux*) system="linux";; |
84 |
- *-solaris*) system="solaris";; |
85 |
- *-winnt*) system="winnt";; |
86 |
- x86_64-*-mingw*) system="mingw64";; |
87 |
- *mingw*) system="mingw";; |
88 |
- *) exit 0;; |
89 |
-esac |
90 |
- |
91 |
- |
92 |
-# Compiler munging |
93 |
-compiler="gcc" |
94 |
-if [[ ${CC} == "ccc" ]] ; then |
95 |
- compiler=${CC} |
96 |
-fi |
97 |
- |
98 |
- |
99 |
-# Detect target arch |
100 |
-machine="" |
101 |
-chost_machine=${CHOST%%-*} |
102 |
-case ${system} in |
103 |
-linux) |
104 |
- case ${chost_machine}:${ABI} in |
105 |
- aarch64*be) machine="generic64 -DB_ENDIAN";; |
106 |
- aarch64*) machine="generic64 -DL_ENDIAN";; |
107 |
- alphaev56*|\ |
108 |
- alphaev[678]*)machine=alpha+bwx-${compiler};; |
109 |
- alpha*) machine=alpha-${compiler};; |
110 |
- armv[4-9]*b*) machine="armv4 -DB_ENDIAN";; |
111 |
- armv[4-9]*) machine="armv4 -DL_ENDIAN";; |
112 |
- arm*b*) machine="generic32 -DB_ENDIAN";; |
113 |
- arm*) machine="generic32 -DL_ENDIAN";; |
114 |
- avr*) machine="generic32 -DL_ENDIAN";; |
115 |
- bfin*) machine="generic32 -DL_ENDIAN";; |
116 |
- # hppa64*) machine=parisc64;; |
117 |
- hppa*) machine="generic32 -DB_ENDIAN";; |
118 |
- i[0-9]86*|\ |
119 |
- x86_64*:x86) machine=elf;; |
120 |
- ia64*) machine=ia64;; |
121 |
- m68*) machine="generic32 -DB_ENDIAN";; |
122 |
- mips*el*) machine="generic32 -DL_ENDIAN";; |
123 |
- mips*) machine="generic32 -DB_ENDIAN";; |
124 |
- powerpc64*le) machine="generic64 -DL_ENDIAN";; |
125 |
- powerpc64*) machine=ppc64;; |
126 |
- powerpc*le) machine="generic32 -DL_ENDIAN";; |
127 |
- powerpc*) machine=ppc;; |
128 |
- # sh64*) machine=elf;; |
129 |
- sh*b*) machine="generic32 -DB_ENDIAN";; |
130 |
- sh*) machine="generic32 -DL_ENDIAN";; |
131 |
- sparc*v7*) machine="generic32 -DB_ENDIAN";; |
132 |
- sparc64*) machine=sparcv9;; |
133 |
- sparc*) machine=sparcv8;; |
134 |
- s390x*) machine=s390x system=linux64;; |
135 |
- s390*) machine="generic32 -DB_ENDIAN";; |
136 |
- x86_64*:x32) machine=x32;; |
137 |
- x86_64*) machine=x86_64;; |
138 |
- esac |
139 |
- ;; |
140 |
-BSD) |
141 |
- case ${chost_machine} in |
142 |
- alpha*) machine=generic64;; |
143 |
- i[6-9]86*) machine=x86-elf;; |
144 |
- ia64*) machine=ia64;; |
145 |
- sparc64*) machine=sparc64;; |
146 |
- x86_64*) machine=x86_64;; |
147 |
- *) machine=generic32;; |
148 |
- esac |
149 |
- ;; |
150 |
-aix) |
151 |
- machine=${compiler} |
152 |
- ;; |
153 |
-darwin) |
154 |
- case ${chost_machine} in |
155 |
- powerpc64) machine=ppc-cc; system=${system}64;; |
156 |
- powerpc) machine=ppc-cc;; |
157 |
- i?86*) machine=i386-cc;; |
158 |
- x86_64) machine=x86_64-cc; system=${system}64;; |
159 |
- esac |
160 |
- ;; |
161 |
-hpux) |
162 |
- case ${chost_machine} in |
163 |
- ia64) machine=ia64-${compiler} ;; |
164 |
- esac |
165 |
- ;; |
166 |
-solaris) |
167 |
- case ${chost_machine} in |
168 |
- i386) machine=x86-${compiler} ;; |
169 |
- x86_64*) machine=x86_64-${compiler}; system=${system}64;; |
170 |
- sparcv9*) machine=sparcv9-${compiler}; system=${system}64;; |
171 |
- sparc*) machine=sparcv8-${compiler};; |
172 |
- esac |
173 |
- ;; |
174 |
-winnt) |
175 |
- machine=parity |
176 |
- ;; |
177 |
-mingw*) |
178 |
- # special case ... no xxx-yyy style name |
179 |
- echo ${system} |
180 |
- ;; |
181 |
-esac |
182 |
- |
183 |
- |
184 |
-# If we have something, show it |
185 |
-[[ -n ${machine} ]] && echo ${system}-${machine} |