diff options
author | Erik Falor <ewfalor@gmail.com> | 2014-06-08 03:24:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-12 06:51:42 +0700 |
commit | 81d3a52b23706824bc6010d3f50326a5b3643729 (patch) | |
tree | 20922dcabaaacf3acadfe3f8e0a04a294fc5fbec /development/chicken/chicken.SlackBuild | |
parent | 8333f6236b19af4756c37989c260aae7acfac21f (diff) | |
download | slackbuilds-81d3a52b23706824bc6010d3f50326a5b3643729.tar.gz |
development/chicken: Updated for version 4.9.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/chicken/chicken.SlackBuild')
-rw-r--r-- | development/chicken/chicken.SlackBuild | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/development/chicken/chicken.SlackBuild b/development/chicken/chicken.SlackBuild index b540cc37ef..d706176b38 100644 --- a/development/chicken/chicken.SlackBuild +++ b/development/chicken/chicken.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Chicken Scheme -# Written by Erik Falor (ewfalor@gmail.com) +# Written by Erik Falor (ewfalor@gmail.com) 2014 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=chicken -VERSION=${VERSION:-4.8.0.5} +VERSION=${VERSION:-4.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,29 +75,13 @@ for f in defaults.make Makefile.linux rules.make sed "s,ARCH,zARCH," -i ${f} done -# Due to the way Chicken generates C code from Scheme sources, it is expensive -# to apply a patch to the generated C files. Instead, we first build an -# unpatched bootstrap Chicken compiler - this will allow us to apply the -# security patches to the Scheme source code of Chicken itself, allowing us to -# rebuild Chicken from scratch. - -make boot-chicken \ - C_COMPILER_OPTIMIZATION_OPTIONS="$SLKCFLAGS" \ - PLATFORM=linux - -# Apply the security patches to Chicken's Scheme sources -for P in $CWD/patches/* ; do patch -p1 -i $P ; done - -# Build Chicken anew using the bootstrapping compiler to generate new C files -# from our patched code make \ C_COMPILER_OPTIMIZATION_OPTIONS="$SLKCFLAGS" \ PLATFORM=linux \ PREFIX=/usr \ LIBDIR=/usr/lib${LIBDIRSUFFIX} \ TOPMANDIR=/usr/man \ - DOCDIR=/usr/doc/$PRGNAM-$VERSION \ - CHICKEN=./chicken-boot + DOCDIR=/usr/doc/$PRGNAM-$VERSION make install \ C_COMPILER_OPTIMIZATION_OPTIONS="$SLKCFLAGS" \ |