mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
stack: bump stackage (proper fix for musl build)
Unix-compat has been bumped in 14.1 so it's no longer a problem for musl.
This commit is contained in:
parent
6903f5e979
commit
b9f94ef999
1 changed files with 4 additions and 11 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'stack'
|
# Template file for 'stack'
|
||||||
pkgname=stack
|
pkgname=stack
|
||||||
version=2.1.3.1
|
version=2.1.3.1
|
||||||
revision=1
|
revision=2
|
||||||
_stackage="lts-13.30"
|
_stackage="lts-14.1"
|
||||||
hostmakedepends="cabal-install pkg-config unzip"
|
hostmakedepends="cabal-install pkg-config unzip"
|
||||||
makedepends="zlib-devel pcre-devel"
|
makedepends="zlib-devel pcre-devel"
|
||||||
depends="git gmp-devel iana-etc"
|
depends="git gmp-devel iana-etc"
|
||||||
|
@ -11,20 +11,13 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://haskellstack.org"
|
homepage="https://haskellstack.org"
|
||||||
distfiles="https://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz
|
distfiles="https://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}-${version}.tar.gz
|
||||||
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}
|
https://www.stackage.org/${_stackage}/cabal.config>cabal.config-${_stackage}"
|
||||||
http://hackage.haskell.org/package/unix-compat-0.5.1/unix-compat-0.5.1.tar.gz"
|
|
||||||
checksum="f983369a22a3e3af9ae09770cf34e4ba439cc7f5ef5a0e87f4db11c1ec5356e0
|
checksum="f983369a22a3e3af9ae09770cf34e4ba439cc7f5ef5a0e87f4db11c1ec5356e0
|
||||||
64852f4aaaa7dd6a9ed49c0bb1765a0f5d63e929f3c18a1bc0771daf6e1e1539
|
c077d34ebe0b5139f57492770c7fd1dabb4b81df0ed842e6ca30b002d9fe78ec"
|
||||||
a39d0c79dd906763770b80ba5b6c5cb710e954f894350e9917de0d73f3a19c52"
|
|
||||||
skip_extraction="cabal.config-${_stackage}"
|
skip_extraction="cabal.config-${_stackage}"
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nopie_files="/usr/bin/stack"
|
nopie_files="/usr/bin/stack"
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
mv ../unix-compat-0.5.1 .
|
|
||||||
vsed -e 's/__GLIBC__/__linux__/g' -i unix-compat-0.5.1/cbits/HsUnixCompat.c
|
|
||||||
vsed -e 's/^- \./&\n- unix-compat-0.5.1/' -i stack.yaml
|
|
||||||
}
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
|
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
|
||||||
HOME=$PWD cabal v2-update
|
HOME=$PWD cabal v2-update
|
||||||
|
|
Loading…
Add table
Reference in a new issue