pkgsrc/lang/chicken/Makefile
asau 9e9631c53c Update to Chicken 4.8.0.1
Requested by Peter Bex.


Changes in 4.8.0.1 since 4.8.0

- Security fixes
  - Use POSIX poll() on systems where available.  This avoids a design flaw
    in select(); it supports no more than FD_SETSIZE descriptors.

- Core libraries
  - Fixed EINTR handling in process-wait and when reading from file ports.
  - Bugfix for irregex (#686).  Note: although irregex.scm now says version
    0.9.2, the version is actually 0.8.3 plus a few backported patches.
  - Fixed problem in "make-pathname" that returned an absolute path if given
    a relative one without a directory argument.
  - On 64-bit systems the feature identifier "64bit" is registered.

- Compiler
  - Fixed various bugs in the type database.
  - Bugfixes and improvements in the scrutinizer.
  - In the flow-analysis pass, type-matching of combinations of
    "list"/"list-of" types has been made more reliable.

- Syntax expander
  - Make macro-renamed defines in begin bodies (inside modules)
    visible to later forms. (#944).

- Runtime system
  - Fixed incorrect code in the foreign argument conversion for
    "unsigned-integer64" (#955).

- Core tools
  - The runtime linker path for compiled executables was not set correctly
    on FreeBSD systems.
  - Fix install-extension breakage when the second arg contains pairs (SRC DST).

- Build system
  - Prevent rebuilding of buildversion.scm on every make(1) on Windows.
2013-01-18 20:56:14 +00:00

55 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2013/01/18 20:56:14 asau Exp $
DISTNAME= chicken-4.8.0.1
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"