diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD index e813c7ad0..df7c5c7dd 100644 --- a/extra/ghc/PKGBUILD +++ b/extra/ghc/PKGBUILD @@ -1,12 +1,19 @@ # $Id: PKGBUILD 168343 2012-10-09 04:08:52Z tdziedzic $ # Maintainer: Thomas Dziedzic # Maintainer: Vesa Kaihlavirta -# Maintainer: David Flemström # Special note for devs looking to upgrade this package: # ghc places a unique hash for each library when it is built. # Libraries depend on versions specified by those hashes. # This implies that all libraries need to be rebuilt when ghc is rebuilt. +# ALARM: David Flemström +# - Add patch for vfp flags (add-vfp-flags.patch) +# - Change build.mk to use the LLVM backend with the right +# optimization passes +# - Add LLVM as a dependency +# - Disable distcc explicitly because the C compiler path is embedded +# during build + pkgname=ghc pkgver=7.6.1 pkgrel=1 @@ -15,8 +22,8 @@ arch=('i686' 'x86_64' 'armv6h') url='http://www.haskell.org/ghc/' license=('custom') # libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496 -depends=('perl' 'gmp>=5.0' 'gcc') # 'libffi') -makedepends=('perl' 'libxslt' 'docbook-xsl') +depends=('llvm' 'perl' 'gmp>=5.0' 'gcc') # 'libffi') +makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl') buildarch=16 checkdepends=('python2') install='ghc.install'