diff options
Diffstat (limited to 'dev-libs/openssl/openssl-0.9.7c-r1.ebuild')
-rw-r--r-- | dev-libs/openssl/openssl-0.9.7c-r1.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild index 202714226547..502f3893b114 100644 --- a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild +++ b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 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.13 2004/01/15 13:52:50 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.14 2004/01/17 07:26:29 kumba Exp $ -inherit eutils flag-o-matic gcc +inherit eutils flag-o-matic OLD_096_P="${PN}-0.9.6l" @@ -19,7 +19,7 @@ DEPEND="${RDEPEND} LICENSE="as-is" SLOT="0" -KEYWORDS="x86 ~ppc ~alpha ~sparc ~mips ~hppa ~arm amd64 ~ia64 ppc64" +KEYWORDS="x86 ~ppc ~alpha ~sparc mips ~hppa ~arm amd64 ~ia64 ppc64" src_unpack() { unpack ${A} @@ -45,7 +45,8 @@ src_unpack() { 's!CC=ccc!CC=gcc!' config fi - if [ "$(gcc-version)" == "3.3" ] || [ "$(gcc-version)" == "3.2" ] ; then + local gcc_version=$(gcc -dumpversion | cut -d. -f1,2) + if [ "${gcc_version}" == "3.3" ] || [ "${gcc_version}" == "3.2" ] ; then filter-flags -fprefetch-loop-arrays -freduce-all-givs fi |