diff options
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" \ |