Commit 4feaea39 authored by Leo's avatar Leo
Browse files

community/ghc: rebuild without libffi3.2

parent e06794be
......@@ -2,7 +2,7 @@
pkgname=ghc
pkgver=8.6.5
_llvmver=9
pkgrel=4
pkgrel=5
# Normal non rc candidate
_urlprefix="$pkgver"
_pkgprefix="$pkgname-$pkgver"
......@@ -23,7 +23,7 @@ license="BSD-3-Clause"
#
# Ref: https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-8.0.1
# https://ghc.haskell.org/trac/ghc/wiki/ImprovedLLVMBackend
depends="gmp-dev perl gcc>=6.2.1 llvm$_llvmver libffi-dev libffi3.2"
depends="gmp-dev perl gcc>=6.2.1 llvm$_llvmver libffi-dev"
# ghc is self-hosted, so we need ghc to build ghc. ghc-bootstrap is provided by
# this aport (see below).
makedepends_build="$pkgname-bootstrap
......@@ -57,7 +57,6 @@ if [ "$CBUILD" != "$CTARGET" ]; then
source="$source 0000-bootstrap.patch"
fi
builddir="$srcdir/$_pkgprefix"
prepare() {
default_prepare
......@@ -88,8 +87,6 @@ prepare() {
}
build() {
cd "$builddir"
local ffi_inc=$(pkg-config libffi --cflags-only-I); ffi_inc="${ffi_inc%% }"
local ffi_lib=$(pkg-config libffi --libs-only-L); ffi_lib="${ffi_lib%% }"
......@@ -139,7 +136,6 @@ package() {
local ghclib="usr/lib/ghc-$pkgver"
local newpath path target
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
cd "$pkgdir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment