pkgsrc/lang/clisp/options.mk
asau b3158e279a Update to CLISP 2.49.
pkgsrc changes: desupport build options that are turned into module packages.


2.49 (2010-07-07)
=================

User visible changes
--------------------

* New command line option -disable-readline lets working around bugs and
  incompatibilities between readline CLISP was built against and the
  library actually installed.
  See <http://clisp.cons.org/impnotes/clisp.html#opt-norl> for details.

* FFI:OPEN-FOREIGN-LIBRARY now accepts the :REQUIRE argument.
  See <http://clisp.cons.org/impnotes/dffi.html#dffi-open-lib> for details.

* New user variable CUSTOM:*USER-LIB-DIRECTORY* is respected by REQUIRE
  and used by "clisp-link install".
  Dynamic modules are now the default build option.
  See <http://clisp.cons.org/impnotes/require.html> and
  <http://clisp.cons.org/impnotes/clisp-link.html> for details.

* Function RENAME-FILE now accepts :IF-EXISTS argument which determines
  the action when the destination exists, unless, of course, *ANSI* is T.
  See <http://clisp.cons.org/impnotes/file-func.html#rename-file> for details.

* The replacement value entered by the user in STORE-VALUE and USE-VALUE
  restarts is now EVALuated.

* The old user variable CUSTOM:*PRINT-CLOSURE* now controls interpreted
  closure output too (RFE#3001956). This is a tricky feature, read up!
  See <http://clisp.cons.org/impnotes/multi-rep.html#pr-closure>.

* Module readline now supports readline 6.1.
  (Older versions are, of course, still supported).
  See <http://clisp.cons.org/impnotes/readline-mod.html> for details.

* Module pcre now supports pcre 8.01.
  (Older versions are, of course, still supported).
  See <http://clisp.cons.org/impnotes/pcre.html> for details.

* Module libsvm does not come with the upstream sources anymore, install
  locally and pass --with-libsvm-prefix to the top-level configure instead.
  All upstream versions up to 2.91 are supported.
  See <http://clisp.cons.org/impnotes/libsvm.html> for details.

* Module berkeley-db now supports Berkeley-DB 4.8.
  (Older versions are, of course, still supported).
  See <http://clisp.cons.org/impnotes/berkeley-db.html> for details.

* Module postgresql now supports PostgreSQL 8.4.
  (Older versions are, of course, still supported).
  See <http://clisp.cons.org/impnotes/postgresql.html> for details.

* Module pari has been updated to support both 64 & 32 bit platforms
  with and without GMP.
  See <http://clisp.cons.org/impnotes/pari.html> for details.

* New functions OS:VERSION-COMPARE et al call strverscmp.
  See <http://clisp.cons.org/impnotes/syscalls.html#strverscmp> for details.

* Bug fixes:
  + Do not eliminate function calls which are advertised to have
    exceptional situation in unsafe code (bug#2868166).
  + Fix an internal error in DECLAIM on bad OPTIMIZE quality (bug#2868147).
  + CLEAR-INPUT now clears the EOF condition on file streams (bug#2902716).
  + When quitting on a signal, never enter the debugger (bug#2795278).
  + Respect :FULL T in DIRECTORY :WILD-INFERIORS (bug#3009966).
  + Handle TWO-WAY-STREAM and ECHO-STREAM correctly by
    (SETF STREAM-EXTERNAL-FORMAT) (bug#3020933).
  + Fix unbuffered output pipe stream initialization (bug#3024887).

* ANSI compliance:
  + Implement the ANSI issue COMPILER-DIAGNOSTICS:USE-HANDLER: use the
    CL Condition System for compiler diagnostics.
  + STREAM-ELEMENT-TYPE on empty CONCATENATED-STREAMs now returns NIL
    because nothing can be read from such streams (bug#3014921).
2010-07-09 18:08:05 +00:00

121 lines
3.1 KiB
Makefile

# $NetBSD: options.mk,v 1.4 2010/07/09 18:08:05 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.clisp
# this option is essential for some others to work:
PKG_SUPPORTED_OPTIONS+= ffcall
PKG_SUPPORTED_OPTIONS+= bdb pari wildcard
PKG_SUPPORTED_OPTIONS+= readline
PKG_OPTIONS_OPTIONAL_GROUPS= x11-bindings
PKG_OPTIONS_GROUP.x11-bindings= mit-clx new-clx
PKG_SUPPORTED_OPTIONS+= gmalloc
PKG_SUGGESTED_OPTIONS+= ffcall readline
# CLISP doesn't work with jemalloc:
.if ${OPSYS} == "NetBSD"
PKG_SUGGESTED_OPTIONS+= gmalloc
.elif ${OPSYS} == "FreeBSD" && !empty(OS_VERSION:N[0-6].*)
PKG_SUGGESTED_OPTIONS+= gmalloc
.endif
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.for option in ${PKG_SUPPORTED_OPTIONS}
. if !empty(PKG_OPTIONS:M${option})
PLIST.${option}= yes
. endif
.endfor
.if !empty(PKG_OPTIONS:Mgmalloc)
CONFIGURE_ARGS+= --with-gmalloc
.endif
.if !empty(PKG_OPTIONS:Mffcall)
CONFIGURE_ARGS+= --with-dynamic-ffi
. include "../../devel/ffcall/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mbdb)
# it requires version 4, not anything older
CONFIGURE_ARGS+= --with-module=berkeley-db
BUILDLINK_TRANSFORM+= l:db:db46
. include "../../databases/db46/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpari)
CONFIGURE_ARGS+= --with-module=pari
. include "../../math/pari/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mnew-clx)
CONFIGURE_ARGS+= --with-module=clx/new-clx
. include "../../x11/libX11/buildlink3.mk"
. include "../../x11/libXau/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mmit-clx)
CONFIGURE_ARGS+= --with-module=clx/mit-clx
. include "../../x11/libX11/buildlink3.mk"
. include "../../x11/libXau/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mwildcard)
CONFIGURE_ARGS+= --with-module=wildcard
.endif
.if !empty(PKG_OPTIONS:Mreadline)
USE_GNU_READLINE= YES
CONFIGURE_ARGS+= --with-readline
.include "../../devel/readline/buildlink3.mk"
.endif
# Options for those who wishes to build "static" CLISP:
# .if !empty(PKG_OPTIONS:Mpgsql)
# CONFIGURE_ARGS+= --with-module=postgresql
# . include "../../mk/pgsql.buildlink3.mk"
# .endif
# .if !empty(PKG_OPTIONS:Mgdbm)
# CONFIGURE_ARGS+= --with-module=gdbm
# . include "../../databases/gdbm/buildlink3.mk"
# .endif
# .if !empty(PKG_OPTIONS:Mpcre)
# CONFIGURE_ARGS+= --with-module=pcre
# . include "../../devel/pcre/buildlink3.mk"
# .endif
# .if !empty(PKG_OPTIONS:Mrawsock)
# CONFIGURE_ARGS+= --with-module=rawsock
# .endif
# .if !empty(PKG_OPTIONS:Mfastcgi)
# CONFIGURE_ARGS+= --with-module=fastcgi
# . include "../../www/fcgi/buildlink3.mk"
# .endif
# .if !empty(PKG_OPTIONS:Mgtk2)
# CONFIGURE_ARGS+= --with-module=gtk2
# . include "../../devel/libglade/buildlink3.mk"
# . include "../../x11/gtk2/buildlink3.mk"
# .endif
# .if !empty(PKG_OPTIONS:Mzlib)
# CONFIGURE_ARGS+= --with-module=zlib
# BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2
# .include "../../devel/zlib/buildlink3.mk"
# .endif
## ffcall is required for some other options to work:
# .if !empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mffcall)
# PKG_OPTIONS+= ffcall
# .endif