pkgsrc/lang/chicken/Makefile
asau 3d9f6031ab Update to Chicken 4.8.0.5
Requested by Peter Bex.


4.8.0.5

- Security fixes
  - CVE-2013-4385: read-string! no longer reads beyond its buffer when
    length is #f.
  - poll() is also used on cygwin by enabling the fix for CVE-2012-6122
  - file-creation-mode now passes a valid value to umask when its argument
    is omitted.  (Also ensure it always returns the old umask value.)
  - Fix a data corruption problem in list->queue.

- Core libraries
  - read-string! behaves correctly in presence of EOF.
  - Several subtle problems in the reader in the presence of EOF are fixed.
  - Use poll() instead of select() on cygwin.

- Runtime
  - Fix an issue on initial seed of the random number generator.

4.8.0.4

- Runtime
  - Ensure correct type is used for sigsetjmp(3) buffer.  This fixes,
    for example, a bus error in 32-bit OS X builds (#1021).

- Core libraries
  - Export file-type from the posix unit.

- Build system
  - Use inexact comparison for flonum tests, as there is sometimes a
    miniscule difference between trig functions computed by libc and
    those precalculated by gcc.
2013-10-04 15:55:38 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2013/10/04 15:55:38 asau Exp $
DISTNAME= chicken-4.8.0.5
CATEGORIES= lang
MASTER_SITES= http://code.call-cc.org/releases/$(PKGVERSION_NOREV)/ \
http://code.call-cc.org/releases/$(PKGVERSION_NOREV:R)/
MAINTAINER= asau@inbox.ru #, airhead@users.sourceforge.net
HOMEPAGE= http://www.call-cc.org/
COMMENT= Scheme to C compiler, handling R5RS
LICENSE= modified-bsd
MAKE_JOBS_SAFE= no
USE_LIBTOOL= yes
USE_TOOLS+= gmake
UNLIMIT_RESOURCES= datasize
INSTALLATION_DIRS= share/chicken
OWN_DIRS= ${PREFIX}/lib/chicken ${PREFIX}/lib/chicken/6
BUILD_TARGET= all
.include "../../mk/bsd.prefs.mk"
# PLATFORM detection:
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
PLATFORM= bsd
.elif ${OPSYS} == "Linux"
PLATFORM= linux
.elif ${OPSYS} == "Darwin"
PLATFORM= macosx
.elif ${OPSYS} == "SunOS"
PLATFORM= solaris
.elif ${OPSYS} == "Haiku"
PLATFORM= haiku
.else
#PLATFORM+= ${OPSYS} == "Interix"
# possible choices left: mingw-msys mingw cygwin cross-linux-mingw
PKG_FAIL_REASON= "${OPSYS} is not supported"
.endif
MAKE_FILE= GNUmakefile
MAKE_ENV+= C_COMPILER=$(CC:Q)
MAKE_ENV+= HOST= # fix ${HOST} prepending ${CC}
# Need to have these in MAKE_FLAGS, MAKE_ENV is not enough due to the
# way the build system overrides them.
MAKE_FLAGS+= PLATFORM=${PLATFORM:Q} PREFIX=${PREFIX:Q} DESTDIR=${DESTDIR:Q}
MAKE_FLAGS+= TOPMANDIR=${PREFIX:Q}/${PKGMANDIR}
MAKE_FLAGS+= INFODIR=${PREFIX:Q}/${PKGINFODIR:Q}
MAKE_FLAGS+= DOCDIR=${PREFIX:Q}/share/doc/${PKGNAME_NOREV}
TEST_TARGET= check # works only after installation
.include "../../mk/bsd.pkg.mk"