From c52eb01b14405b7393a351a4e33cd729c414df59 Mon Sep 17 00:00:00 2001 From: copyleftie <34298117+copyleftie@users.noreply.github.com> Date: Tue, 26 Dec 2017 16:15:38 -0500 Subject: [PATCH] ghc: update to 8.2.2. (Stackage LTS now uses 8.2.2) Closes: #10211 [via git-merge-pr] --- srcpkgs/ghc/template | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ghc/template b/srcpkgs/ghc/template index 80375c002fa..55104838293 100644 --- a/srcpkgs/ghc/template +++ b/srcpkgs/ghc/template @@ -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 " 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