diff options
author | Joshua Kinard <kumba@gentoo.org> | 2003-12-16 07:10:34 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2003-12-16 07:10:34 +0000 |
commit | 5e7d71c47a9d8dfd25565e7f717abdf9d4859d00 (patch) | |
tree | ea04e90fdaf12b56997f1d9dc6636d26e0ebb46c | |
parent | Made a change to the mips detection so we can differentiate betweem mips and ... (diff) | |
download | historical-5e7d71c47a9d8dfd25565e7f717abdf9d4859d00.tar.gz historical-5e7d71c47a9d8dfd25565e7f717abdf9d4859d00.tar.bz2 historical-5e7d71c47a9d8dfd25565e7f717abdf9d4859d00.zip |
Made a change to the mips detection so we can differentiate betweem mips and mipsel machines, and pass the apropriate configure target, otherwise the testsuite fails
-rw-r--r-- | dev-libs/openssl/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.7c-r1.ebuild | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 7c843b5bac43..d381d5398dc4 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -1,11 +1,11 @@ -MD5 ffad76c4f587c9d94156257df3a6142b ChangeLog 10794 +MD5 563dd7368da460e12bcf1aec69518bf4 ChangeLog 10793 MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220 MD5 80d13b0f2af478afe5734984c282ca1a openssl-0.9.6k-r1.ebuild 3141 MD5 45b370cc497c7366b67fc60dd26508c3 openssl-0.9.6k.ebuild 2675 MD5 cad6026de56f3aaae74790092bcf4a5e openssl-0.9.6l.ebuild 3127 MD5 0c60cc74801f0e02af30f0f83863b126 openssl-0.9.7b-r3.ebuild 4829 MD5 aecada0dff75d29960c20c1a5978fe78 openssl-0.9.7b.ebuild 3358 -MD5 cee5311cf81a61d21b9267df5e6994a8 openssl-0.9.7c-r1.ebuild 5751 +MD5 71124ae4a13fec2c54288197c4f965aa openssl-0.9.7c-r1.ebuild 5750 MD5 9e86692a9ae2fb049f12ed1136293925 openssl-0.9.7c.ebuild 4912 MD5 e4af813471d470d25fb77231d324ad1c files/digest-openssl-0.9.6k 67 MD5 e4af813471d470d25fb77231d324ad1c files/digest-openssl-0.9.6k-r1 67 diff --git a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild index 4a789322a658..e89d836ebc03 100644 --- a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild +++ b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.6 2003/12/15 05:41:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.7 2003/12/16 07:10:30 kumba Exp $ inherit eutils flag-o-matic gcc @@ -84,9 +84,15 @@ src_compile() { # openssl-0.9.7 cd ${WORKDIR}/${P} - # Build correctly for mips & mips64 + # Build correctly for mips, mips64, & mipsel if [ "`use mips`" ]; then - ./Configure linux-mips --prefix=/usr --openssldir=/etc/ssl \ + if [ "`echo ${CHOST} | grep "mipsel"`" ]; then + mipsarch="linux-mipsel" + else + mipsarch="linux-mips" + fi + + ./Configure ${mipsarch} --prefix=/usr --openssldir=/etc/ssl \ shared threads || die else ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die @@ -105,7 +111,11 @@ src_compile() { elif [ "`uname -m`" = "parisc64" ]; then SSH_TARGET="linux-parisc" elif [ "`use mips`" ]; then - SSH_TARGET="linux-mips" + if [ "`echo ${CHOST} | grep "mipsel"`" ]; then + SSH_TARGET="linux-mipsel" + else + SSH_TARGET="linux-mips" + fi fi case ${CHOST} in |