Skip to content
Snippets Groups Projects
Commit 28bcb45f authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

community/ghc: rebuild against system ffi

parent c07ef27c
1 merge request!27260community/libffi3.3-compat: remove
# Maintainer: Mitch Tishmack <mitch.tishmack@gmail.com>
pkgname=ghc
pkgver=9.0.1
pkgrel=0
pkgrel=1
# Normal non rc candidate
_urlprefix="$pkgver"
_pkgprefix="$pkgname-$pkgver"
......@@ -27,8 +27,9 @@ depends="gmp-dev perl gcc>=6.2.1 llvm$_llvmver"
# ghc is self-hosted, so we need ghc to build ghc. ghc-bootstrap is provided by
# this aport (see below).
makedepends_build="$pkgname-bootstrap
autoconf binutils binutils-gold ncurses-dev xz coreutils grep"
makedepends_host="linux-headers musl-dev zlib-dev gmp-dev binutils-dev ncurses-dev"
autoconf binutils binutils-gold libffi-dev ncurses-dev xz coreutils grep"
makedepends_host="linux-headers musl-dev zlib-dev gmp-dev binutils-dev
libffi-dev ncurses-dev"
makedepends="$makedepends_build $makedepends_host"
checkdepends="python3"
# XXX: ghc-bootstrap is a hack to allow this abuild to depend on itself.
......@@ -88,6 +89,7 @@ build() {
--host=$CBUILD \
--target=$CTARGET \
--prefix=/usr \
--with-system-libffi \
--disable-ld-override
# Switch llvm-targets from unknown-linux-gnueabihf->alpine-linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment