From 3fed64fa93fbb7b1da397d7a3fc361252b4543df Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 10 Jul 2014 22:05:29 +0200 Subject: [PATCH] ghc: fix CC and depends --- srcpkgs/ghc/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ghc/template b/srcpkgs/ghc/template index 07b69af2917..9171a5f66bf 100644 --- a/srcpkgs/ghc/template +++ b/srcpkgs/ghc/template @@ -1,12 +1,13 @@ # Template file for 'ghc' pkgname=ghc version=7.8.2 -revision=1 +revision=2 only_for_archs="i686 x86_64" build_style=gnu-configure configure_args="--with-system-libffi" hostmakedepends="ghc-bin docbook-xsl libxslt" makedepends="libffi-devel gmp-devel ncurses-devel" +depends="gcc libffi-devel gmp-devel" short_desc="Glorious Haskell Compiler" maintainer="Christian Neukirchen " license="custom" @@ -15,5 +16,6 @@ distfiles="http://www.haskell.org/ghc/dist/$version/$pkgname-$version-src.tar.xz checksum=45d1e1a6edee34a7760ae9bfd8decf13a3f43de87309ff277f5a08fc51fa7e96 post_install() { - vlicense LICENSE + sed -i 's#/usr/lib/ccache/bin/##g' ${DESTDIR}/usr/lib/ghc-${version}/settings + vlicense LICENSE }