Fixing dependencies for newer GMP, MPFR and MPC versions on laki.
This commit is contained in:
parent
4ab85784a0
commit
9e7aca27d0
1 changed files with 16 additions and 0 deletions
|
@ -14,6 +14,22 @@ INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||||
A=gcc-${VERSION}.tar.bz2
|
A=gcc-${VERSION}.tar.bz2
|
||||||
P=gcc-${VERSION}
|
P=gcc-${VERSION}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
# extract gcc source package
|
||||||
|
unpack
|
||||||
|
if [ $PLATFORM = "laki" ] ; then
|
||||||
|
# On laki currently too old versions of GMP, MPFR and MPC are installed
|
||||||
|
# http://gcc.gnu.org/install/prerequisites.html
|
||||||
|
# unpack required GMP, MPFR and MPC sources into subdirectories
|
||||||
|
tar xjf ${SRC_POOL}/gmp-4.3.2.tar.bz2 -C $SRCDIR
|
||||||
|
tar xjf ${SRC_POOL}/mpfr-2.4.2.tar.bz2 -C $SRCDIR
|
||||||
|
tar xzf ${SRC_POOL}/mpc-0.8.1.tar.gz -C $SRCDIR
|
||||||
|
# rename subdirectories as required by gcc's configure
|
||||||
|
mv $SRCDIR/gmp-* $SRCDIR/gmp
|
||||||
|
mv $SRCDIR/mpfr-* $SRCDIR/mpfr
|
||||||
|
mv $SRCDIR/mpc-* $SRCDIR/mpc
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Other interesting configure options:
|
# Other interesting configure options:
|
||||||
CONFIGURE_OPTS=" \
|
CONFIGURE_OPTS=" \
|
||||||
|
|
Loading…
Reference in a new issue