From 557e2e64ce89db5fee97d43ae09f674678c76611 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 28 Apr 2022 19:11:08 +0200 Subject: [PATCH] cabal-install: fix build. --- srcpkgs/cabal-install/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cabal-install/template b/srcpkgs/cabal-install/template index 6a4b0ad7fc0..e50dba1d51b 100644 --- a/srcpkgs/cabal-install/template +++ b/srcpkgs/cabal-install/template @@ -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() {