summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/openssl/openssl-0.9.7c-r1.ebuild')
-rw-r--r--dev-libs/openssl/openssl-0.9.7c-r1.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
index f090c626ccf3..deb10f4eeb97 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.3 2003/11/12 09:20:41 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.4 2003/11/17 09:56:04 kumba Exp $
inherit eutils flag-o-matic gcc
@@ -77,7 +77,15 @@ src_unpack() {
src_compile() {
# openssl-0.9.7
cd ${WORKDIR}/${P}
- ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
+
+ # Build correctly for mips & mips64
+ if [ "`use mips`" ]; then
+ ./Configure linux-mips --prefix=/usr --openssldir=/etc/ssl \
+ shared threads || die
+ else
+ ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die
+ fi
+
einfo "Compiling ${P}"
make all || die
make test || die
@@ -90,6 +98,8 @@ src_compile() {
SSH_TARGET="linux-sparcv8"
elif [ "`uname -m`" = "parisc64" ]; then
SSH_TARGET="linux-parisc"
+ elif [ "`use mips`" ]; then
+ SSH_TARGET="linux-mips"
fi
case ${CHOST} in