OpenSDE Packages Database (without history before r20070)
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.

61 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../clisp/clisp.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- T2-COPYRIGHT-NOTE-END ---
  14. # clisp has a strange config file, so we're doing some extra work here:
  15. # basic configuration for clisp
  16. var_append clispconfopt ' ' "--prefix=$root/$prefix"
  17. var_append clispconfopt ' ' "--exec-prefix=$root/$prefix"
  18. var_append clispconfopt ' ' "--fsstnd=debian"
  19. #NOT YET: var_append clispconfopt ' ' "--with-threads=POSIX_THREADS"
  20. var_append clispconfopt ' ' "--with-dynamic-ffi"
  21. var_append clispconfopt ' ' "--with-unicode"
  22. # clisp bindings (modules)
  23. clisp_modules=
  24. var_append clisp_modules ' ' bindings/glibc
  25. #FIXME berkeley-db does not compile
  26. #pkginstalled bdb \
  27. # && var_append clisp_modules ' ' berkeley-db
  28. pkginstalled xorg \
  29. && var_append clisp_modules ' ' clx/new-clx
  30. #var_append clisp_modules ' ' netica
  31. pkginstalled pcre \
  32. && var_append clisp_modules ' ' pcre
  33. #var_append clisp_modules ' ' queens
  34. var_append clisp_modules ' ' syscalls
  35. #var_append clisp_modules ' ' dirkey
  36. #var_append clisp_modules ' ' fastcgi
  37. #var_append clisp_modules ' ' oracle
  38. #FIXME export header location of postgresql ot CFLAGS
  39. #pkginstalled postgresql \
  40. # && var_append clisp_modules ' ' postgresql
  41. var_append clisp_modules ' ' regexp
  42. var_append clisp_modules ' ' wildcard
  43. for i in $clisp_modules; do
  44. var_append clispconfopt ' ' "--with-module=$i"
  45. done
  46. # a certain alignment of functions is necessary
  47. case "$SDECFG_ARCH" in
  48. *) #FIXME
  49. var_append GCC_WRAPPER_APPEND ' ' "-falign-functions=4"
  50. ;;
  51. esac
  52. clisp_main() {
  53. eval_config_command $( eval echo $clispconfopt ) --install build-with-gcc
  54. }
  55. custmain=clisp_main