ghc: update to 8.4.3.

This commit is contained in:
Leah Neukirchen 2018-07-12 18:59:13 +02:00 committed by Leah Neukirchen
parent c5a2006b78
commit 09d09b1a2c

View file

@ -1,34 +1,36 @@
# Template file for 'ghc' # Template file for 'ghc'
pkgname=ghc pkgname=ghc
# Keep this synchronized with http://www.stackage.org/lts # Keep this synchronized with http://www.stackage.org/lts
version=8.2.2 version=8.4.3
revision=1 revision=1
wrksrc="ghc-${version%[!0-9]}" wrksrc="ghc-${version%[!0-9]}"
patch_args="-Np1" patch_args="-Np1"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-system-libffi" configure_args="--with-system-libffi"
hostmakedepends="automake docbook-xsl ghc-bin libxslt python-Sphinx" hostmakedepends="automake docbook-xsl ghc-bin libxslt python-Sphinx"
makedepends="libffi-devel gmp-devel ncurses-devel" makedepends="gmp-devel libffi-devel libnuma-devel ncurses-devel"
depends="perl gcc libffi-devel gmp-devel" depends="perl gcc libffi-devel gmp-devel libnuma-devel"
short_desc="Glorious Haskell Compiler" short_desc="Glorious Haskell Compiler"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD" license="BSD"
homepage="http://www.haskell.org/ghc/" homepage="http://www.haskell.org/ghc/"
distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${version%[!0-9]}-src.tar.xz" distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${version%[!0-9]}-src.tar.xz"
checksum="bb8ec3634aa132d09faa270bbd604b82dfa61f04855655af6f9d14a9eedc05fc" checksum=ae47afda985830de8811243255aa3744dfb9207cb980af74393298b2b62160d6
nocross=yes # ask leah2 before wasting time trying to do that nocross=yes # ask leah2 before wasting time trying to do that
_bindir="/usr/lib/${pkgname}-${version}/bin" _bindir="/usr/lib/${pkgname}-${version}/bin"
nopie_files="${_bindir}/ghc" nopie_files="
nopie_files+=" ${_bindir}/ghc-iserv" ${_bindir}/ghc
nopie_files+=" ${_bindir}/ghc-iserv-dyn" ${_bindir}/ghc-iserv
nopie_files+=" ${_bindir}/ghc-iserv-prof" ${_bindir}/ghc-iserv-dyn
nopie_files+=" ${_bindir}/ghc-pkg" ${_bindir}/ghc-iserv-prof
nopie_files+=" ${_bindir}/haddock" ${_bindir}/ghc-pkg
nopie_files+=" ${_bindir}/hp2ps" ${_bindir}/haddock
nopie_files+=" ${_bindir}/hpc" ${_bindir}/hp2ps
nopie_files+=" ${_bindir}/hsc2hs" ${_bindir}/hpc
nopie_files+=" ${_bindir}/runghc" ${_bindir}/hsc2hs
nopie_files+=" ${_bindir}/unlit" ${_bindir}/runghc
${_bindir}/unlit
"
pre_configure() { pre_configure() {
export CONF_CC_OPTS_STAGE0=$CFLAGS_FOR_BUILD export CONF_CC_OPTS_STAGE0=$CFLAGS_FOR_BUILD