clisp.paketlendi
This commit is contained in:
parent
fbd969bb5e
commit
caefb3ab9b
|
@ -0,0 +1,11 @@
|
||||||
|
--- ./src/Makefile 2017-05-11 11:17:03.846297791 +0300
|
||||||
|
+++ ./src/Makefile2 2017-05-11 11:17:33.419629701 +0300
|
||||||
|
@@ -69,7 +69,7 @@
|
||||||
|
CFLAGS = -O2 -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I.
|
||||||
|
CPP = gcc -E
|
||||||
|
CLFLAGS =
|
||||||
|
-LIBS = /usr/lib/libreadline.so -Wl,-rpath -Wl,/usr/lib -lncurses -ldl /usr/lib/libavcall.a /usr/lib/libcallback.a -L/usr/lib -lsigsegv -lc -R/usr/lib libgnu_cl.a
|
||||||
|
+LIBS = /usr/lib/libreadline.so -Wl,-rpath -Wl,/usr/lib -lncurses -ldl /usr/lib/libavcall.a /usr/lib/libcallback.a -L/usr/lib -lsigsegv -lc libgnu_cl.a
|
||||||
|
X_LIBS =
|
||||||
|
MODULE_CPPFLAGS = $(CPPFLAGS)
|
||||||
|
MODULE_CFLAGS = $(CFLAGS) -fPIC
|
|
@ -1,38 +0,0 @@
|
||||||
--- ./src/makemake.in.orig 2013-02-16 15:26:28.000000000 -0700
|
|
||||||
+++ ./src/makemake.in 2015-02-11 17:20:00.000000000 -0700
|
|
||||||
@@ -1217,7 +1217,7 @@ if [ $XCC_GCC = true ] ; then
|
|
||||||
if [ $CROSS = false ] ; then
|
|
||||||
case "$XCC_GCC_VERSION" in
|
|
||||||
# gcc 2.7 introduced an annoying warning, but gcc 2.8 has a workaround:
|
|
||||||
- 2.[8-9]* | 3.* | 4.* | egcs-2.*)
|
|
||||||
+ 2.[8-9]* | 3.* | 4.* | 5.* | egcs-2.*)
|
|
||||||
XCFLAGS=$XCFLAGS' -Wno-sign-compare -Wno-format-nonliteral'
|
|
||||||
;;
|
|
||||||
* ) ;;
|
|
||||||
@@ -1226,7 +1226,7 @@ if [ $XCC_GCC = true ] ; then
|
|
||||||
if [ $CROSS = false -a $CC_CPLUSPLUS = true ] ; then
|
|
||||||
case "$XCC_GCC_VERSION" in
|
|
||||||
# g++ 3.4 introduced an annoying warning, but has a workaround:
|
|
||||||
- 3.[4-9]* | 4.*)
|
|
||||||
+ 3.[4-9]* | 4.* | 5.*)
|
|
||||||
XCFLAGS=$XCFLAGS' -Wno-invalid-offsetof'
|
|
||||||
;;
|
|
||||||
* ) ;;
|
|
||||||
@@ -1241,7 +1241,7 @@ if [ $XCC_GCC = true ] ; then
|
|
||||||
# gcc-2.7.2 has a strength-reduction bug (fixed in gcc-2.7.2.1,
|
|
||||||
# also fixed through the specs file of some Linux distributions).
|
|
||||||
XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations -fno-strength-reduce' ;;
|
|
||||||
- 2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | egcs-2.*)
|
|
||||||
+ 2.3.[2-9]* | 2.[4-9]* | 3.* | 4.* | 5.* | egcs-2.*)
|
|
||||||
XCFLAGS=$XCFLAGS' -O2 -fexpensive-optimizations' ;;
|
|
||||||
* )
|
|
||||||
XCFLAGS=$XCFLAGS' -O' ;;
|
|
||||||
@@ -1295,7 +1295,7 @@ if [ $XCC_GCC = true ] ; then
|
|
||||||
esac
|
|
||||||
fi # with_debug
|
|
||||||
case "$XCC_GCC_VERSION" in
|
|
||||||
- 3* | 4*)
|
|
||||||
+ 3* | 4* | 5*)
|
|
||||||
# When not optimizing on linux, or with Apple's gcc 4 on MacOS X,
|
|
||||||
# or with GCC 4 when "gcc -Os" is used:
|
|
||||||
# C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x806D512
|
|
|
@ -1,28 +1,35 @@
|
||||||
# Description: GNU CLisp, ANSI Common Lisp uygulamasıdır.
|
# Description: GNU CLisp, ANSI Common Lisp uygulamasıdır.
|
||||||
# URL: http://clisp.cons.org/
|
# URL: http://clisp.cons.org/
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: ffcall libsigsegv
|
# Depends on: libsigsegv
|
||||||
|
|
||||||
name=clisp
|
name=clisp
|
||||||
version=2.49
|
version=2.49
|
||||||
release=1
|
release=1
|
||||||
source=(http://ftp.gnu.org/pub/gnu/clisp/latest/$name-$version.tar.bz2 \
|
source=(http://ftp.gnu.org/pub/gnu/clisp/latest/$name-$version.tar.bz2
|
||||||
clisp-gcc5.patch)
|
Makefile-R.yama)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
patch -Np1 -i ../clisp-gcc5.patch
|
|
||||||
|
|
||||||
sed -i '/socket/d' tests/tests.lisp
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man
|
||||||
|
|
||||||
./configure --prefix=/usr --with-readline --with-ffcall src
|
|
||||||
cd src
|
cd src
|
||||||
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
|
|
||||||
make || make -j1
|
|
||||||
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
|
|
||||||
make || make -j1
|
|
||||||
|
|
||||||
|
./makemake \
|
||||||
|
--with-dynamic-ffi \
|
||||||
|
--without-dynamic-modules \
|
||||||
|
--prefix=/usr \
|
||||||
|
--mandir=/usr/man
|
||||||
|
cd ..
|
||||||
|
patch -Np1 -i $SRC/Makefile-R.yama
|
||||||
|
cd src
|
||||||
|
make -j1
|
||||||
make -j1 DESTDIR=$PKG install
|
make -j1 DESTDIR=$PKG install
|
||||||
|
|
||||||
|
rm -r $PKG/usr/share/doc
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue