ghc: update to 8.2.2.

(Stackage LTS now uses 8.2.2)

Closes: #10211 [via git-merge-pr]
This commit is contained in:
copyleftie 2017-12-26 16:15:38 -05:00 committed by Jürgen Buchmüller
parent 8da5aec7ed
commit c52eb01b14
1 changed files with 14 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ghc'
pkgname=ghc
# Keep this synchronized with http://www.stackage.org/lts
version=8.0.2
version=8.2.2
revision=1
wrksrc="ghc-${version%[!0-9]}"
patch_args="-Np1"
@ -15,9 +15,20 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD"
homepage="http://www.haskell.org/ghc/"
distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${version%[!0-9]}-src.tar.xz"
checksum=11625453e1d0686b3fa6739988f70ecac836cadc30b9f0c8b49ef9091d6118b1
checksum="bb8ec3634aa132d09faa270bbd604b82dfa61f04855655af6f9d14a9eedc05fc"
nocross=yes # ask leah2 before wasting time trying to do that
nopie=yes
_bindir="/usr/lib/${pkgname}-${version}/bin"
nopie_files="${_bindir}/ghc"
nopie_files+=" ${_bindir}/ghc-iserv"
nopie_files+=" ${_bindir}/ghc-iserv-dyn"
nopie_files+=" ${_bindir}/ghc-iserv-prof"
nopie_files+=" ${_bindir}/ghc-pkg"
nopie_files+=" ${_bindir}/haddock"
nopie_files+=" ${_bindir}/hp2ps"
nopie_files+=" ${_bindir}/hpc"
nopie_files+=" ${_bindir}/hsc2hs"
nopie_files+=" ${_bindir}/runghc"
nopie_files+=" ${_bindir}/unlit"
pre_configure() {
export CONF_CC_OPTS_STAGE0=$CFLAGS_FOR_BUILD