cabal-install: update to 3.6.3.0
Technically, this is only upgrading Cabal (the library) to 3.6.3.0, as the installed version of cabal-install is still 3.6.2.0. This is, however, necessary for GHC 9.x support.
This commit is contained in:
parent
9836c283a4
commit
12161ae4ff
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cabal-install'
|
# Template file for 'cabal-install'
|
||||||
pkgname=cabal-install
|
pkgname=cabal-install
|
||||||
version=3.6.2.0
|
version=3.6.3.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=cabal-Cabal-v${version}
|
wrksrc=cabal-Cabal-v${version}
|
||||||
hostmakedepends="ghc curl tar which"
|
hostmakedepends="ghc curl tar which"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://hackage.haskell.org/package/cabal-install"
|
homepage="https://hackage.haskell.org/package/cabal-install"
|
||||||
distfiles="https://github.com/haskell/cabal/archive/Cabal-v${version}.tar.gz"
|
distfiles="https://github.com/haskell/cabal/archive/Cabal-v${version}.tar.gz"
|
||||||
checksum=dcf31e82cd85ea3236be18cc36c68058948994579ea7de18f99175821dbbcb64
|
checksum=dea086acad6d9fe5fe22d838b95b4e988022e8519f38d41609119ea32bfb7466
|
||||||
nopie_files="/usr/bin/cabal"
|
nopie_files="/usr/bin/cabal"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
@ -19,12 +19,13 @@ post_patch() {
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
i686*)
|
i686*)
|
||||||
# https://github.com/haskell/cabal/issues/7313
|
# https://github.com/haskell/cabal/issues/7313
|
||||||
vsed -i -e 's/+ofd-locking/-ofd-locking/' bootstrap/linux-8.10.7.json ;;
|
vsed -i -e 's/+ofd-locking/-ofd-locking/' bootstrap/linux-9.0.2.json ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
PREFIX=$PWD bootstrap/bootstrap.py -d bootstrap/linux-8.10.7.json
|
cp "${FILESDIR}/linux-9.0.2.json" bootstrap/
|
||||||
|
PREFIX=$PWD bootstrap/bootstrap.py -d bootstrap/linux-9.0.2.json
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin _build/bin/cabal
|
vbin _build/bin/cabal
|
||||||
|
|
Loading…
Reference in New Issue