pkgsrc/lang/clisp/Makefile
perry 49f60dadea Update to clisp 2.39
List of changes from the release notes:

2.39 (2006-07-16)
=================

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

* SAVEINITMEM now accepts :SCRIPT argument that disables interpreting
  the first positional argument as the script name; and :DOCUMENTATION
  argument that is printed by the new -help-image command line option.
  See <http://clisp.cons.org/impnotes/image.html> and
  <http://clisp.cons.org/impnotes/clisp.html#opt-help-image> for details.

* FFI:UINT64 and FFI:SINT64 are now compatible with C's long long type.

* Stack overflow detection and recovery finally work fine on Unix.
  Libsigsegv is required for this, on all platforms (including MS-Windows).
  CLISP should neither exit nor crash under infinite recursion.
  If your distribution has CLISP compiled without libsigsegv, report
  the missing feature to its maintainer.
  Note that libsigsegv 2.4 is required, there are bugs in libsigsegv 2.3!

* It is now possible to specify the default method-combination of a generic
  function, to be used when the DEFGENERIC form does not specify the
  :METHOD-COMBINATION explicitly, through a default initarg specification
  for the :METHOD-COMBINATION keyword on the generic function class.

* Readline completion works with non 1:1 terminal encodings, e.g. UTF-8.

* WITH-KEYBOARD works with a Unix tty even when SLIME hijacks *TERMINAL-IO*.

* I/O operations on Win32 are now much faster.

* New functions: POSIX:FFS, POSIX:PATHCONF.

* Infrastructure:
  + Top-level configure now accepts a new option --with-gmalloc to use the
    GNU malloc implementation instead of the one supplied by libc.
    You may need it on older HP-UX and newer OpenBSD systems.
    See file unix/PLATFORMS for more information.
  + The value of the environment variable CFLAGS is respected by configure.

* Bug fixes:
  + SOCKET:SOCKET-SERVER :INTERFACE now behaves as documented.
  + EXT:READ-BYTE-NO-HANG and SOCKET:SOCKET-STATUS used to hang on
    buffered binary sockets.
  + Allow DESTRUCTURING-BIND (a . b) with circular and dotted lists.
  + ADJUST-ARRAY of zero length adjustable string now works.
  + TIME now reports correct results when the heap grows over 4GB.
  + RAWSOCK functions now handle :START/:END arguments correctly.
  + BDB:DBC-GET now accepts :READ-COMMITTED and :READ-UNCOMMITTED.
  + POSIX:GROUP-INFO and POSIX:USER-INFO now handle errors correctly.

* Portability:
  + Support DragonFly BSD.
2006-07-20 23:05:43 +00:00

60 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.55 2006/07/20 23:05:43 perry Exp $
DISTNAME= clisp-2.39
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP, a Common Lisp implementation
# Sparc64 has assembler code problems, see
# http://sourceforge.net/tracker/index.php?func=detail&aid=952681&group_id=1355&atid=101355
NOT_FOR_PLATFORM= *-*-sparc64
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64} || ${OPSYS} == "DragonFly"
MODULES+= --disable-mmap
.endif
USE_PKGLOCALEDIR= YES
BUILD_DIRS= src
CONFIGURE_DIRS= . modules/i18n modules/syscalls modules/pcre modules/rawsock \
modules/readline modules/regexp modules/wildcard modules/zlib
CONFIGURE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} CPPFLAGS=${CPPFLAGS:M*:Q}
GNU_CONFIGURE= YES
UNLIMIT_RESOURCES= stacksize
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
MODULES+= --with-module=pcre --with-module=rawsock
MODULES+= --with-module=wildcard --with-module=zlib
CONFIGURE_ARGS+= ${MODULES}
TEST_TARGET= check
post-patch:
${CP} files/tramp-rs6000-netbsd.o ${WRKSRC}/ffcall/callback/trampoline_r
${CP} files/tramp-rs6000-netbsd.s ${WRKSRC}/ffcall/callback/trampoline_r
${CP} files/vacall-rs6000-netbsd.s ${WRKSRC}/ffcall/callback/vacall_r
post-configure:
cd ${WRKSRC}/src && \
./makemake --prefix=${PREFIX} --with-readline --with-gettext \
--with-dynamic-ffi --fsstnd=netbsd ${MODULES} >Makefile
pre-build:
cd ${WRKSRC}/src/avcall && ${MAKE}
cd ${WRKSRC}/src/callback && ${MAKE}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libsigsegv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"