* New module DBUS interfaces to the D-Bus message bus system. See <http://clisp.cons.org/impnotes/dbus.html> for details. * New function EXT:PROBE-PATHNAME can figure out whether the existing pathname refers to a file or a directory. See <http://clisp.cons.org/impnotes/files.html#probe-path> for details. * New function EXT:CANONICALIZE lets you easily canonicalize a value before processing it. See <http://clisp.cons.org/impnotes/macros3.html#canonicalize> for details. * New user variable CUSTOM:*REOPEN-OPEN-FILE* controls CLISP behavior when opening an already open file. See <http://clisp.cons.org/impnotes/open.html#reopen> for details. * New SETFable function OS:FILE-SIZE extends FILE-LENGTH to pathname designators and lets you change file size. See <http://clisp.cons.org/impnotes/syscalls.html#file-size> for details. New function OS:USER-SHELLS returns the list of legal user shells. See <http://clisp.cons.org/impnotes/syscalls.html#user-shells> for details. New SETFable functions OS:HOSTID and OS:DOMAINNAME. See <http://clisp.cons.org/impnotes/syscalls.html#hostid> for details. * Module readline has been upgraded to readline 5.2 (older versions 5.0 and 5.1 are, of course, still supported). See <http://clisp.cons.org/impnotes/readline-mod.html> for details. * LOAD now uses DIRECTORY only for wild *LOAD-PATHS* components, thus speeding up the most common cases and preventing the denial-of-service attack whereas CLISP would not start if a file with a name incompatible with *PATHNAME-ENCODING* is present in USER-HOMEDIR-PATHNAME. * ROOM now prints some GC statistics and returns the same values as GC. See <http://clisp.cons.org/impnotes/environment-enq.html#room> for details. * New user variable CUSTOM:*HTTP-LOG-STREAM* controls EXT:OPEN-HTTP logging. See <http://clisp.cons.org/impnotes/macros3.html#http-log-stream> for details. * Bug fixes: + Comparison of floats and rationals never underflows. [ 2014262 ] + When failing to convert a huge LONG-FLOAT to a RATIONAL, signal an ARITHMETIC-ERROR instead of blowing the stack. [ 2015118 ] + Restored TYPECODES g++ compilation [ 2015118 ], which allowed fixing a few GC-safety bugs. + Fixed a segfault when signaling some UNBOUND-VARIABLE errors in some interpreted code on MacOS X (introduced in 2.46). [ 2020784 ] Thanks to Vladimir Tzankov <vtzankov@gmail.com>. + Fixed input after switching a :DOS stream to binary. [ 2022362 ] + Support circular objects in EQUAL and EQUALP hash-tables. [ 2029069 ] + Avoid C namespace pollution. [ 2146126 ] + Fix timeout precision in NEW-CLX. [ 2188102 ] * ANSI compliance: + The sets of declaration and type names are disjoint. + FLET, LABELS and MACROLET respect declarations.
118 lines
2.9 KiB
Makefile
118 lines
2.9 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2008/10/27 18:07:23 tnn Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.clisp
|
|
|
|
# this option is essential for some others to work:
|
|
PKG_SUPPORTED_OPTIONS+= ffcall
|
|
|
|
PKG_SUPPORTED_OPTIONS+= pgsql gdbm bdb pcre rawsock pari fastcgi wildcard gtk2 zlib
|
|
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 pcre rawsock readline zlib
|
|
|
|
# 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
|
|
|
|
# ffcall is required for other options to work
|
|
.if !empty(PKG_OPTIONS:Mpgsql) && empty(PKG_OPTIONS:Mffcall)
|
|
PKG_OPTIONS+= ffcall
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mffcall)
|
|
CONFIGURE_ARGS+= --with-dynamic-ffi
|
|
. include "../../devel/ffcall/buildlink3.mk"
|
|
.endif
|
|
|
|
.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: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: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:Mpari)
|
|
CONFIGURE_ARGS+= --with-module=pari
|
|
. include "../../math/pari/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mfastcgi)
|
|
CONFIGURE_ARGS+= --with-module=fastcgi
|
|
. include "../../www/fcgi/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:Mgtk2)
|
|
CONFIGURE_ARGS+= --with-module=gtk2
|
|
. include "../../devel/libglade/buildlink3.mk"
|
|
. include "../../x11/gtk2/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mwildcard)
|
|
CONFIGURE_ARGS+= --with-module=wildcard
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mzlib)
|
|
CONFIGURE_ARGS+= --with-module=zlib
|
|
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mreadline)
|
|
USE_GNU_READLINE= YES
|
|
CONFIGURE_ARGS+= --with-readline
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.endif
|