diff options
author | 2003-02-12 19:09:10 +0000 | |
---|---|---|
committer | 2003-02-12 19:09:10 +0000 | |
commit | fe706916d5fef394448106d900fcaa139571502a (patch) | |
tree | fb42ab5bf20e775f082a3275a3c310af8db4d572 /dev-libs/openssl | |
parent | Added nls flags to IUSE. (diff) | |
download | historical-fe706916d5fef394448106d900fcaa139571502a.tar.gz historical-fe706916d5fef394448106d900fcaa139571502a.tar.bz2 historical-fe706916d5fef394448106d900fcaa139571502a.zip |
Added -fPIC to CFLAGS for hppa needed by many apps linking to openssl.
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6g-r1.ebuild | 9 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6g.ebuild | 12 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.6h.ebuild | 9 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.7.ebuild | 9 |
5 files changed, 37 insertions, 7 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog index 41ceb0be4266..bf321458c860 100644 --- a/dev-libs/openssl/ChangeLog +++ b/dev-libs/openssl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/openssl # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.25 2003/02/12 06:08:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.26 2003/02/12 19:09:10 gmsoft Exp $ + + 12 Feb 2003; Guy Martin <gmsoft@gentoo.org> : + Added -fPIC to CFLAGS for hppa needed by many apps linking to openssl. 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> : Added hppa to keywords. diff --git a/dev-libs/openssl/openssl-0.9.6g-r1.ebuild b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild index 6cbcde919c4d..b4e0c42fa471 100644 --- a/dev-libs/openssl/openssl-0.9.6g-r1.ebuild +++ b/dev-libs/openssl/openssl-0.9.6g-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.6g-r1.ebuild,v 1.5 2003/02/08 23:15:35 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g-r1.ebuild,v 1.6 2003/02/12 19:09:10 gmsoft Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -18,6 +18,13 @@ src_unpack() { patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + # many apps linking to openssl needs -fPIC + if [ "${ARCH}" = "hppa" ] + then + CFLAGS="${CFLAGS} -fPIC" + fi + + cp Configure Configure.orig sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure } diff --git a/dev-libs/openssl/openssl-0.9.6g.ebuild b/dev-libs/openssl/openssl-0.9.6g.ebuild index d40d687e463b..5a4e719557d4 100644 --- a/dev-libs/openssl/openssl-0.9.6g.ebuild +++ b/dev-libs/openssl/openssl-0.9.6g.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.6g.ebuild,v 1.10 2003/02/09 14:14:02 tuxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6g.ebuild,v 1.11 2003/02/12 19:09:10 gmsoft Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -19,10 +19,16 @@ src_unpack() { patch -p1 < ${FILESDIR}/${PF}-gentoo.diff if [ "${ARCH}" = "mips" ] - then + then cd ${S} patch -p1 < ${FILESDIR}/${P}-mips.diff || die - fi + fi + + # many apps linking to openssl needs -fPIC + if [ "${ARCH}" = "hppa" ] + then + CFLAGS="${CFLAGS} -fPIC" + fi cp Configure Configure.orig sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure diff --git a/dev-libs/openssl/openssl-0.9.6h.ebuild b/dev-libs/openssl/openssl-0.9.6h.ebuild index fe5164aa2a9b..acfffdbccd73 100644 --- a/dev-libs/openssl/openssl-0.9.6h.ebuild +++ b/dev-libs/openssl/openssl-0.9.6h.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.6h.ebuild,v 1.2 2003/02/08 23:15:35 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.6h.ebuild,v 1.3 2003/02/12 19:09:10 gmsoft Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -18,6 +18,13 @@ src_unpack() { patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + # many apps linking to openssl needs -fPIC + if [ "${ARCH}" = "hppa" ] + then + CFLAGS="${CFLAGS} -fPIC" + fi + + cp Configure Configure.orig sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure } diff --git a/dev-libs/openssl/openssl-0.9.7.ebuild b/dev-libs/openssl/openssl-0.9.7.ebuild index 1aecdb69e223..3b0b5fd63869 100644 --- a/dev-libs/openssl/openssl-0.9.7.ebuild +++ b/dev-libs/openssl/openssl-0.9.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.7.ebuild,v 1.3 2003/02/08 23:15:35 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7.ebuild,v 1.4 2003/02/12 19:09:10 gmsoft Exp $ S=${WORKDIR}/${P} DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" @@ -33,6 +33,13 @@ src_unpack() { patch -p1 < ${FILESDIR}/${PF}-gentoo.diff + # many apps linking to openssl needs -fPIC + if [ "${ARCH}" = "hppa" ] + then + CFLAGS="${CFLAGS} -fPIC" + fi + + cp Configure Configure.orig sed -e "s/-O3/$CFLAGS/" -e "s/-m486//" Configure.orig > Configure } |