diff --git a/srcpkgs/clisp/patches/no-page.h.patch b/srcpkgs/clisp/patches/no-page.h.patch new file mode 100644 index 00000000000..df602bcb5b7 --- /dev/null +++ b/srcpkgs/clisp/patches/no-page.h.patch @@ -0,0 +1,12 @@ +--- ./src/unix.d ++++ ./src/unix.d +@@ -135,9 +135,6 @@ + #ifdef UNIX_AUX + #include /* for SHMLBA */ + #endif +- #if defined(UNIX_LINUX) && !defined(UNIX_GNU) +- #include /* for SHMLBA on Linux 2.0 */ +- #endif + /* declares shmget(), shmat(), shmdt(), shmctl() */ + #endif + /* used by SPVW, STREAM */ diff --git a/srcpkgs/clisp/template b/srcpkgs/clisp/template index 3d947fd60a6..8d830cbe885 100644 --- a/srcpkgs/clisp/template +++ b/srcpkgs/clisp/template @@ -1,25 +1,23 @@ # Template file for 'clisp' - -lib32disabled=yes -nocross=yes -nopie=yes - -pkgname="clisp" -version="2.49" -revision=3 +pkgname=clisp +version=2.49 +revision=4 build_style=configure -configure_args="--prefix=/usr --disable-rpath" +configure_args="--prefix=/usr --disable-mmap --without-dynamic-modules + $(vopt_with readline)" short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger" maintainer="Martin Riese " -license="GPL2" +license="GPL-2" homepage="http://clisp.cons.org" -makedepends="ffcall readline-devel libsigsegv-devel" +makedepends="ffcall libsigsegv-devel $(vopt_if readline readline-devel)" distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2" -checksum="8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890" +checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890 -case "${XBPS_TARGET_MACHINE}" in - *-musl) broken="#include : No such file or directory" -esac +nopie=yes +nocross=yes +lib32disabled=yes +disable_parallel_build=yes +build_options="readline" do_build() { # Need to increase the Limit @@ -27,7 +25,6 @@ do_build() { cd src make } - do_install() { cd src make DESTDIR=${DESTDIR} install