From da5bd8b5bbc7037af64eced1d0c7dfe5f8decb43 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 9 Jul 2013 17:28:49 -0300 Subject: xtensa-unknown-elf-gcc: fix dependencies on PKGBUILD --- libre/xtensa-unknown-elf-gcc/PKGBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libre/xtensa-unknown-elf-gcc/PKGBUILD b/libre/xtensa-unknown-elf-gcc/PKGBUILD index 02611d173..270dc6299 100644 --- a/libre/xtensa-unknown-elf-gcc/PKGBUILD +++ b/libre/xtensa-unknown-elf-gcc/PKGBUILD @@ -9,12 +9,12 @@ _sysroot="/usr/$CHOST/${_target}" pkgname=${_target}-gcc pkgver=4.8.1 -pkgrel=1 +pkgrel=1.2 pkgdesc="The GNU Compiler Collection for the Xtensa architecture" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL' 'custom') url="http://gcc.gnu.org" -makedepends=('binutils>=2.23' 'libmpc' 'cloog' 'gcc-ada' 'doxygen') +makedepends=("${_target}-binutils>=2.23" 'libmpc' 'cloog' 'gcc-ada' 'doxygen') checkdepends=('dejagnu' 'inetutils') options=('!libtool' '!emptydirs') source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2) @@ -69,10 +69,9 @@ build() { make all-gcc } -package() -{ +package() { pkgdesc="The GNU Compiler Collection for the Xtensa architecture" - depends=("gcc-libs=$pkgver-$pkgrel" 'binutils>=2.23' 'libmpc' 'cloog') + depends=("${_target}-binutils>=2.23" 'libmpc' 'cloog') groups=("${_target}-devel") install=${_target}-gcc.install -- cgit v1.2.3-54-g00ecf