mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
clisp: unbreak musl
Add readline build option (off) to avoid licensing incompatibility between readline>=6 (GPL-3) and clisp (GPL-2).
This commit is contained in:
parent
8d3ef72850
commit
948f8de771
2 changed files with 25 additions and 16 deletions
12
srcpkgs/clisp/patches/no-page.h.patch
Normal file
12
srcpkgs/clisp/patches/no-page.h.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- ./src/unix.d
|
||||||
|
+++ ./src/unix.d
|
||||||
|
@@ -135,9 +135,6 @@
|
||||||
|
#ifdef UNIX_AUX
|
||||||
|
#include <sys/mmu.h> /* for SHMLBA */
|
||||||
|
#endif
|
||||||
|
- #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
|
||||||
|
- #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
|
||||||
|
- #endif
|
||||||
|
/* <sys/shm.h> declares shmget(), shmat(), shmdt(), shmctl() */
|
||||||
|
#endif
|
||||||
|
/* used by SPVW, STREAM */
|
|
@ -1,25 +1,23 @@
|
||||||
# Template file for 'clisp'
|
# Template file for 'clisp'
|
||||||
|
pkgname=clisp
|
||||||
lib32disabled=yes
|
version=2.49
|
||||||
nocross=yes
|
revision=4
|
||||||
nopie=yes
|
|
||||||
|
|
||||||
pkgname="clisp"
|
|
||||||
version="2.49"
|
|
||||||
revision=3
|
|
||||||
build_style=configure
|
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"
|
short_desc="ANSI Common Lisp Interpreter, Compiler and Debugger"
|
||||||
maintainer="Martin Riese <grauehaare@gmx.de>"
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
||||||
license="GPL2"
|
license="GPL-2"
|
||||||
homepage="http://clisp.cons.org"
|
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"
|
distfiles="${SOURCEFORGE_SITE}/clisp/clisp-${version}.tar.bz2"
|
||||||
checksum="8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890"
|
checksum=8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
nopie=yes
|
||||||
*-musl) broken="#include <asm/page.h>: No such file or directory"
|
nocross=yes
|
||||||
esac
|
lib32disabled=yes
|
||||||
|
disable_parallel_build=yes
|
||||||
|
build_options="readline"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Need to increase the Limit
|
# Need to increase the Limit
|
||||||
|
@ -27,7 +25,6 @@ do_build() {
|
||||||
cd src
|
cd src
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd src
|
cd src
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
Loading…
Add table
Reference in a new issue