pkgsrc/lang/sbcl/Makefile
asau 236653ded7 Update to SBCL 1.0.36
New in version 1.0.36

  - new feature: SB-EXT:TYPEXPAND-1, SB-EXT:TYPEXPAND, and
    SB-EXT:TYPEXPAND-ALL behave exactly like their MACROEXPAND
    counterparts but work on type specifiers.
  - new feature: SB-EXT:DEFINED-TYPE-NAME-P returns whether a
    symbol is known to name a type specifier.
  - new feature: SB-EXT:VALID-TYPE-SPECIFIER-P returns whether a
    given type specifier is valid where "valid" basically means
    "would be accepted as second argument of TYPEP".
  - new feature: SB-INTROSPECT:FUNCTION-TYPE takes a
    function-designator and returns the function's declared, or
    derived FTYPE.
  - new feature: SB-POSIX now supports accessing the d_ino
    member of dirent structures. (Thanks to Philipp Marek and
    Pierre THEIRRY)
  - new feature: The function SB-EXT:SEED-RANDOM-STATE has been
    added to provide for seeding a RANDOM-STATE object with
    user-provided data or from the operating system's PRNG.
    Also, (MAKE-RANDOM-STATE T) will attempt to initialize the
    returned state from the operating system's PRNG where
    possible. (Thanks to Fare Rideau; launchpad bug #310116)
  - bug fix: Fix SB-SIMPLE-STREAMS:READ-VECTOR to correctly set
    the FILE-POSITION of the stream being read from. (launchpad
    bug #491087)
  - bug fix: Fix grammar and style issues for the docstrings of
    printer-related variables and functions. (Thanks to mon_key;
    launchpad bug #518696)
  - bug fix: Fix compilation on chenygc platforms. Thanks to
    Larry Valkama and Bruce O'Neel.
  - bug fix: SB-THREAD:CONDITION-WAIT sometimes signaled a
    deadline twice in a row even though a handler defered the
    deadline long into the future. (#512914)
  - bug fix: A deadline handler was run without interrupts
    enabled for a deadline signaled within
    SB-THREAD:CONDITION-WAIT.
    That could result in infinitely spinning, non-killable threads.
  - bug fix: Backtrace from internal-errors on x86-64 os x was
    truncated before reaching the erring stack frame.
  - bug fix: Fix type derivation for EXPT when raising a fixnum
    to a real power. (launchpad bug #525949)
  - bug fix: Fix SB-EXT:GENERATION-* accessors for generations >
    0 on GENCGC platforms. (launchpad bug #529014)
  - bug fix: More robust checks for invalid DEFMETHOD argument
    specializers. (launchpad bug #525916)
  - bug fix: Fix building on Darwin when sysctl is not in the
    user's PATH. (Thanks to Robert Goldman)
2010-03-05 14:20:25 +00:00

83 lines
2.7 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2010/03/05 14:20:25 asau Exp $
DISTNAME= ${PKGNAME_NOREV}-source
PKGNAME= sbcl-1.0.36
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sbcl/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jonb@NetBSD.org
HOMEPAGE= http://www.sbcl.org/
COMMENT= SBCL, a Common Lisp implementation
# SBCL creates a new release with minor updates and fixes every
# month. The maintainer of this package does not have the time
# to build, test, update, etc. this package that often. If you
# would like a newer (or older) version, this works very often:
# 1) change the PKGNAME variable above as desired
# 2) make fetch && make makesum && make package
USE_TOOLS+= gmake gtar:run
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
.include "../../mk/bsd.prefs.mk"
#
# Bootstrap section.
#
# SBCL needs an existing Common Lisp system to build it...
# Currently allowed systems are CLISP, CMUCL, OpenMCL, and SBCL itself.
#
# If SBCL is installed in an unusual place when trying to build this
# package, you may need to set the full path in SBCL_BOOT_SYSTEM and
# build the package with "SBCL_HOME=/path/to/SBCL/core/image/ make"
#SBCL_BOOT_SYSTEM= clisp # CLisp
#SBCL_BOOT_SYSTEM= "lisp -batch" # CMUCL
#SBCL_BOOT_SYSTEM= "openmcl --batch" # OpenMCL
#SBCL_BOOT_SYSTEM= sbcl # SBCL
.if !defined(SBCL_BOOT_SYSTEM)
# Use "clisp -ansi -on-error abort" to make the build more reproducible,
# per Christophe Rhodes:
SBCL_BOOT_SYSTEM= clisp -ansi -on-error abort
BUILD_DEPENDS+= clisp-[0-9]*:../../lang/clisp
ULIMIT_RESOURCES= datasize
.elif ${SBCL_BOOT_SYSTEM} == clisp
BUILD_DEPENDS+= clisp-[0-9]*:../../lang/clisp
ULIMIT_RESOURCES= datasize
.elif ${SBCL_BOOT_SYSTEM} == sbcl
# Get bootstrap version:
BUILD_DEPENDS+= sbcl-[0-9]*:../../lang/sbcl
.endif
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= install.sh src/runtime/runtime.c doc/sbcl.1
SUBST_SED.fix-paths= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.fix-paths+= -e 's,/var/log,${VARBASE}/log,g'
SUBST_CLASSES+= fix-gtar
SUBST_STAGE.fix-gtar= pre-configure
SUBST_MESSAGE.fix-gtar= Fixing GNU tar references.
SUBST_FILES.fix-gtar= contrib/asdf-install/installer.lisp
SUBST_SED.fix-gtar= -e 's,@GTAR@,${GTAR},'
do-build:
cd ${WRKSRC} && ${SH} make.sh ${SBCL_BOOT_SYSTEM:Q}
post-build:
cd ${WRKSRC} && ${RM} -f contrib/sb-cover/test-output/*
do-install:
cd ${WRKSRC} && BUILD_ROOT=${DESTDIR:Q} INSTALL_ROOT=${PREFIX:Q} MAN_DIR=${PREFIX:Q}/${PKGMANDIR} ${SH} install.sh
rm -f $(DESTDIR)$(PREFIX)/lib/sbcl/asdf-install/installer.lisp.orig
do-test:
cd ${WRKSRC}/tests && ${SH} ./run-tests.sh
.include "../../mk/bsd.pkg.mk"