From 744dc145d526f14a80d49216408583664ad09bb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 31 Jan 2021 22:54:39 +0100 Subject: [PATCH] clisp: fix ftbfs; xlintify --- srcpkgs/clisp/template | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/srcpkgs/clisp/template b/srcpkgs/clisp/template index d0576f7c986..0bd8d107d04 100644 --- a/srcpkgs/clisp/template +++ b/srcpkgs/clisp/template @@ -1,30 +1,35 @@ # Template file for 'clisp' pkgname=clisp version=2.49 -revision=4 +revision=5 # possibly works elsewhere but not in an ancient 2010 release archs="x86_64* i686*" build_style=configure -configure_args="--prefix=/usr --disable-mmap --without-dynamic-modules - $(vopt_with readline)" +configure_args="--prefix=/usr --disable-mmap --disable-rpath + --without-dynamic-modules $(vopt_with readline)" +hostmakedepends="ffcall" +makedepends="libsigsegv-devel $(vopt_if readline readline-devel)" short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger" maintainer="Martin Riese " -license="GPL-2" +license="GPL-2.0-only" homepage="http://clisp.cons.org" -makedepends="ffcall libsigsegv-devel $(vopt_if readline readline-devel)" distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2" checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890 - -case "${XBPS_TARGET_MACHINE}" in - i686*) CFLAGS="-falign-functions=4" ;; -esac - nopie=yes nocross=yes lib32disabled=yes disable_parallel_build=yes build_options="readline" +case "$XBPS_TARGET_MACHINE" in + i686-musl) broken="*** - MULTIPLE-VALUE-SETQ: variable EXTRA-FILE-TYPES has no value";; +esac + +CFLAGS="-mtune=generic" +if [ "$XBPS_TARGET_WORDSIZE" == 32 ]; then + CFLAGS+=" -falign-functions=4" +fi + do_build() { # Need to increase the Limit ulimit -s 16384