pkgsrc/lang/sbcl/Makefile
asau 2e06012293 Update to SBCL 1.0.46
Changes in sbcl-1.0.46 relative to sbcl-1.0.45:
  * enhancement: largefile support on Solaris.
  * enhancement: SB-PROFILE:REPORT now supports :LIMIT and :PRINT-NO-CALL-LIST
    arguments (lp#710017)
  * enhancement: SB-PCL:+SLOT-UNBOUND+ is exported, making it possible to
    distinguish unbound instance slots when using STANDARD-INSTANCE-ACCESS
    &co. (lp#718039)
  * optimization: ERROR and CERROR are approximately 5 times faster.
  * optimization: optimized constructors are used for MAKE-INSTANCE of classes
    with applicable non-standard (SETF SLOT-VALUE-USING-CLASS),
    SLOT-BOUNDP-USING-CLASS, and INITIALIZE-INSTANCE :AROUND methods, speeding
    up instance creation in those cases.
  * optimization: arithmetic operations with multiple constant arguments in now
    have them reduced at compile-time. (lp#676414)
  * optimization: determining current character position on string-streams for
    pretty-printing was overly slow.
  * bug fix: local tail calls to DYNAMIC-EXTENT functions can no longer cause
    lifetime analysis to overwrite closed-over variables (lp#681092).
  * bug fix: encoding errors from some multibyte external formats such as EUC-JP
    were not handled correctly (lp#713063).
  * bug fix: printing waitqueue objects without setting *PRINT-CIRCLE* to T is now
    safe (lp#673630).
  * bug fix: Solaris/x86-64 wasn't getting built with lutex support by
    mistake. (lp#667297).
  * bug fix: CONSTANTLY generated functions had bogus lambda-lists. (lp#713626)
  * bug fix: RUN-PROGRAM :PTY option was racy on OpenBSD. (lp#669485)
  * bug fix: UNINTERN takes a symbol, not a symbol designator -- could previously
    unintern the wrong symbol with the same name. (lp#693796)
  * bug fix: COPY-PPRINT-DISPATCH always has access to a pristine table,
    making it possible to restore the initial table if it has been messed up.
    (lp#678409)
2011-03-05 20:30:49 +00:00

89 lines
2.9 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2011/03/05 20:30:49 asau Exp $
DISTNAME= ${PKGNAME_NOREV}-source
PKGNAME= sbcl-1.0.46
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 -norc -ansi -on-error abort
BUILD_DEPENDS+= clisp-[0-9]*:../../lang/clisp
UNLIMIT_RESOURCES= datasize
.elif ${SBCL_BOOT_SYSTEM} == clisp
BUILD_DEPENDS+= clisp-[0-9]*:../../lang/clisp
UNLIMIT_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 --prefix=${PREFIX} --xc-host=${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
.if $(LOWER_ARCH) == "amd64" || $(LOWER_ARCH) == "x86_64"
PLIST_SUBST+= SUFX64=-64
.else
PLIST_SUBST+= SUFX64=
.endif
.include "../../mk/bsd.pkg.mk"