summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-09 17:28:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-09 17:28:49 -0300
commitda5bd8b5bbc7037af64eced1d0c7dfe5f8decb43 (patch)
tree818a3ffdb3b9c0bba466bae6e21766446e2d6247
parent7985a370418f92dfebba1a5b675fccdc375a67a7 (diff)
xtensa-unknown-elf-gcc: fix dependencies on PKGBUILD
-rw-r--r--libre/xtensa-unknown-elf-gcc/PKGBUILD9
1 files 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