chroot-gcc: add missing builddeps to build it in the chroot.

This commit is contained in:
Juan RP 2012-06-04 10:28:30 +02:00
parent e5e707d097
commit 5d4377dc95
1 changed files with 10 additions and 8 deletions

View File

@ -5,17 +5,17 @@ _gmp_ver=5.0.3
_mpfr_ver=3.1.0
_mpc_ver=0.8.2
version=${_majorver}.0
revision=1
wrksrc="gcc-${version}"
homepage="http://gcc.gnu.org"
short_desc="The GNU C Compiler suite -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
distfiles="
http://ftp.gnu.org/pub/gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2
http://ftp.gnu.org/pub/gnu/gmp/gmp-${_gmp_ver}.tar.bz2
http://www.mpfr.org/mpfr-current/mpfr-${_mpfr_ver}.tar.bz2
http://www.multiprecision.org/mpc/download/mpc-${_mpc_ver}.tar.gz"
homepage="http://gcc.gnu.org"
revision=1
short_desc="The GNU C Compiler suite -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
checksum="
a680083e016f656dab7acd45b9729912e70e71bbffcbf0e3e8aa1cccf19dc9a5
dcafe9989c7f332b373e1f766af8e9cd790fc802fdec422a1910a6ef783480e3
@ -27,11 +27,13 @@ long_desc="
This package is only meant to be used by xbps-src, don't install it manually."
noverifyrdeps=yes
provides="libgcc-${version} libstdc++-${version} libstdc++-devel-${version}
gcc-${version} gcc-c++-${version}"
provides="libgcc-$version libstdc++-$version libstdc++-devel-$version gcc-$version gcc-c++-$version"
conflicts="libgcc>=0 libstdc++>=0 libstdc++-devel>=0 gcc>=0 gcc-c++>=0"
if [ -n "$IN_CHROOT" ]; then
makedepends="perl flex"
fi
pre_configure() {
# As specified in the LFS book, disable installing libiberty.
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in