diff --git a/extra/ecl/PKGBUILD b/extra/ecl/PKGBUILD index efa2096ca..27dbd7d19 100644 --- a/extra/ecl/PKGBUILD +++ b/extra/ecl/PKGBUILD @@ -5,6 +5,7 @@ # ALARM: Kevin Mihelich # - use system libffi (included version is old and breaks on v5) # - specify libffi include path in CPPFLAGS +# - use gc with AArch64 pkgname=ecl pkgver=15.3.7 @@ -14,6 +15,7 @@ arch=('i686' 'x86_64') url="http://sourceforge.net/projects/ecls/" license=('LGPL') depends=('bash' 'gmp' 'libffi') +depends_aarch64=('gc') makedepends=('texinfo') provides=('common-lisp' 'cl-asdf') options=('!makeflags') @@ -29,6 +31,8 @@ prepare() { build() { cd $srcdir/$pkgname-$pkgver + [[ $CARCH != "aarch64" && CONFIG="--enable-boehm=included" + CPPFLAGS+=" -I/usr/lib/libffi-3.2.1/include" ./configure \ --build=$CHOST \ @@ -36,12 +40,11 @@ build() { --with-tcp \ --with-clos-streams \ --enable-shared \ - --enable-boehm=included \ --with-system-gmp \ --without-x \ --enable-threads \ --without-clx \ - --with-dffi=system + --with-dffi=system $CONFIG make }