diff options
Diffstat (limited to 'app-sci/pari')
-rw-r--r-- | app-sci/pari/ChangeLog | 5 | ||||
-rw-r--r-- | app-sci/pari/pari-2.1.5-r2.ebuild | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/app-sci/pari/ChangeLog b/app-sci/pari/ChangeLog index 8f4b83ecb032..8f69ab1c6910 100644 --- a/app-sci/pari/ChangeLog +++ b/app-sci/pari/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-sci/pari # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/ChangeLog,v 1.16 2004/05/04 23:26:31 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/ChangeLog,v 1.17 2004/05/08 10:30:34 kugelfang Exp $ + + 08 May 2004; Danny van Dyk <kugelfang@gentoo.org> pari-2.1.5-r2.ebuild: + Shared library will now be built with -fPIC, solves BUG #49853. 05 May 2004; Bryan Østergaard <kloeri@gentoo.org> pari-2.1.5-r2.ebuild: Stable on alpha. diff --git a/app-sci/pari/pari-2.1.5-r2.ebuild b/app-sci/pari/pari-2.1.5-r2.ebuild index 10dfbc9a8432..daa040068428 100644 --- a/app-sci/pari/pari-2.1.5-r2.ebuild +++ b/app-sci/pari/pari-2.1.5-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/pari-2.1.5-r2.ebuild,v 1.2 2004/05/04 23:26:31 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/pari/pari-2.1.5-r2.ebuild,v 1.3 2004/05/08 10:30:34 kugelfang Exp $ DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" HOMEPAGE="http://www.parigp-home.de/" @@ -24,7 +24,16 @@ src_compile() { addwrite "/var/lib/texmf" addwrite "/usr/share/texmf" addwrite "/var/cache/fonts" - emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp || die + if [ `use amd64` ]; then + # Fixes BUG #49583 + einfo "Building shared library..." + cd Olinux-x86_64 + emake CFLAGS="${CFLAGS} -DGCC_INLINE -fPIC" lib-dyn || die "Building shared library failed!" + einfo "Building executables..." + emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp ../gp || die "Building exectuables failed!" + else + emake CFLAGS="${CFLAGS} -DGCC_INLINE" gp || die + fi use doc || rm -rf doc/*.tex use doc && emake doc } |