cabal-install: fix build.
This commit is contained in:
parent
d038f370cf
commit
557e2e64ce
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cabal-install'
|
||||
pkgname=cabal-install
|
||||
version=3.6.3.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=cabal-Cabal-v${version}
|
||||
hostmakedepends="ghc curl tar which"
|
||||
makedepends="gmp-devel libffi-devel zlib-devel python3"
|
||||
|
@ -15,6 +15,10 @@ checksum=dea086acad6d9fe5fe22d838b95b4e988022e8519f38d41609119ea32bfb7466
|
|||
nopie_files="/usr/bin/cabal"
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
cp "${FILESDIR}/linux-9.0.2.json" bootstrap/
|
||||
}
|
||||
|
||||
post_patch() {
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
i686*)
|
||||
|
@ -24,7 +28,6 @@ post_patch() {
|
|||
}
|
||||
|
||||
do_build() {
|
||||
cp "${FILESDIR}/linux-9.0.2.json" bootstrap/
|
||||
PREFIX=$PWD bootstrap/bootstrap.py -d bootstrap/linux-9.0.2.json
|
||||
}
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue