You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.0 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../clisp/clisp.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# clisp has a strange config file, so we're doing some extra work here:
# basic configuration for clisp
var_append clispconfopt ' ' "--prefix=$root/$prefix"
var_append clispconfopt ' ' "--exec-prefix=$root/$prefix"
var_append clispconfopt ' ' "--fsstnd=debian"
#NOT YET: var_append clispconfopt ' ' "--with-threads=POSIX_THREADS"
var_append clispconfopt ' ' "--with-dynamic-ffi"
var_append clispconfopt ' ' "--with-unicode"
# clisp bindings (modules)
clisp_modules=
var_append clisp_modules ' ' bindings/glibc
#FIXME berkeley-db does not compile
#pkginstalled bdb \
# && var_append clisp_modules ' ' berkeley-db
pkginstalled xorg \
&& var_append clisp_modules ' ' clx/new-clx
#var_append clisp_modules ' ' netica
pkginstalled pcre \
&& var_append clisp_modules ' ' pcre
#var_append clisp_modules ' ' queens
var_append clisp_modules ' ' syscalls
#var_append clisp_modules ' ' dirkey
#var_append clisp_modules ' ' fastcgi
#var_append clisp_modules ' ' oracle
#FIXME export header location of postgresql ot CFLAGS
#pkginstalled postgresql \
# && var_append clisp_modules ' ' postgresql
var_append clisp_modules ' ' regexp
var_append clisp_modules ' ' wildcard
for i in $clisp_modules; do
var_append clispconfopt ' ' "--with-module=$i"
done
# a certain alignment of functions is necessary
case "$SDECFG_ARCH" in
*) #FIXME
var_append GCC_WRAPPER_APPEND ' ' "-falign-functions=4"
;;
esac
clisp_main() {
eval_config_command $( eval echo $clispconfopt ) --install build-with-gcc
}
custmain=clisp_main