diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-06 05:02:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-06 05:02:05 +0000 |
commit | 351942648423d89544e5089aad80ffe1617c7365 (patch) | |
tree | d9457b9ef9d4e18bbe4967b50b5e8d7d8acff520 /dev-libs/openssl | |
parent | Re-keywording latest stable to fix mips dependencies for eliminating gnome su... (diff) | |
download | gentoo-2-351942648423d89544e5089aad80ffe1617c7365.tar.gz gentoo-2-351942648423d89544e5089aad80ffe1617c7365.tar.bz2 gentoo-2-351942648423d89544e5089aad80ffe1617c7365.zip |
update by Diego Pettenò for freebsd targets #146316
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'dev-libs/openssl')
-rwxr-xr-x | dev-libs/openssl/files/gentoo.config-0.9.8 | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/dev-libs/openssl/files/gentoo.config-0.9.8 b/dev-libs/openssl/files/gentoo.config-0.9.8 index c1ed91efb4d2..45ad99270e2b 100755 --- a/dev-libs/openssl/files/gentoo.config-0.9.8 +++ b/dev-libs/openssl/files/gentoo.config-0.9.8 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8,v 1.6 2006/09/02 00:19:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/files/gentoo.config-0.9.8,v 1.7 2006/09/06 05:02:05 vapier Exp $ # # Openssl doesn't play along nicely with cross-compiling # like autotools based projects, so let's teach it new tricks. @@ -17,10 +17,11 @@ if [[ $1 == "test" ]] ; then "armv5b-linux-gnu |linux-generic32 -DB_ENDIAN" \ "x86_64-pc-linux-gnu |linux-x86_64" \ "alphaev56-unknown-linux-gnu |linux-alpha+bwx-gcc" \ - "whatever-gentoo-freebsdX.Y |FreeBSD-elf" \ - "sparc64-alpha-freebsdX.Y |FreeBSD-sparc64" \ - "ia64-gentoo-freebsd5.99234 |FreeBSD-ia64" \ - "x86_64-gentoo-freebsdX.Y |FreeBSD-amd64" \ + "i686-pc-linux-gnu |linux-generic32" \ + "whatever-gentoo-freebsdX.Y |BSD-generic32" \ + "sparc64-alpha-freebsdX.Y |BSD-sparc64" \ + "ia64-gentoo-freebsd5.99234 |BSD-ia64" \ + "x86_64-gentoo-freebsdX.Y |BSD-x86_64" \ "hppa64-aldsF-linux-gnu5.3 |linux-parisc" \ "powerpc-gentOO-linux-uclibc |linux-ppc" \ "powerpc64-unk-linux-gnu |linux-ppc64" \ @@ -45,7 +46,7 @@ fi # Detect the operating system case ${CHOST} in *-linux*) system="linux";; - *-freebsd*) system="FreeBSD";; + *-freebsd*) system="BSD";; *) exit 0;; esac @@ -89,13 +90,14 @@ linux) x86_64*) machine=x86_64;; esac ;; -FreeBSD) +BSD) case ${chost_machine} in - sparc64*) machine=sparc64;; + alpha*) machine=generic64;; + i[6-9]86*) machine=x86;; ia64*) machine=ia64;; - alpha*) machine=alpha;; - x86_64*) machine=amd64;; - *) machine=elf;; + sparc64*) machine=sparc64;; + x86_64*) machine=x86_64;; + *) machine=generic32;; esac ;; esac |