mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
cabal-install: disable ofd-locking on i686.
Broken upstream, see https://github.com/haskellari/lukko/issues/15
This commit is contained in:
parent
fdec23bbdf
commit
ce469c9962
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cabal-install'
|
# Template file for 'cabal-install'
|
||||||
pkgname=cabal-install
|
pkgname=cabal-install
|
||||||
version=3.4.0.0
|
version=3.4.0.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=cabal-${pkgname}-${version}
|
wrksrc=cabal-${pkgname}-${version}
|
||||||
hostmakedepends="ghc curl tar which"
|
hostmakedepends="ghc curl tar which"
|
||||||
makedepends="gmp-devel libffi-devel zlib-devel python3"
|
makedepends="gmp-devel libffi-devel zlib-devel python3"
|
||||||
|
@ -15,6 +15,14 @@ checksum=e4fbd5eb1d77400746a993679181f159aa415a37b931b26d67f5602f63ce971c
|
||||||
nopie_files="/usr/bin/cabal"
|
nopie_files="/usr/bin/cabal"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
i686*)
|
||||||
|
# https://github.com/haskell/cabal/issues/7313
|
||||||
|
vsed -i -e 's/+ofd-locking/-ofd-locking/' bootstrap/linux-8.10.1.json ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
PREFIX=$PWD bootstrap/bootstrap.py -d bootstrap/linux-8.10.1.json
|
PREFIX=$PWD bootstrap/bootstrap.py -d bootstrap/linux-8.10.1.json
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue