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
|
@ -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'
|
||||
|
||||
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 <grauehaare@gmx.de>"
|
||||
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 <asm/page.h>: 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
|
||||
|
|
Loading…
Reference in New Issue