f007cb24a7
Gauche-0.8.1 is a maintainance release of Gauche-0.8. Gauche-0.8 release announce is cited here: * *New Features* o Auxiliary scripts: Gauche now installs a few scripts that help to build and install extension packages. The gauche-package script handles download, unpacking, configuration, building and installation in one command invocation. See the description of "Using extension packages" section of the manual. (NB: this feature is still new and may have problems, but hey, let's give a try.) A couple of auxiliary scripts, gauche-cesconv and gauche-install can be called from Makefile. They don't have documentation yet, but try --help option for these scripts. o Module util.match: Andrew Wright's match macro is bundled. It is modified to handle Gauche's object system. * *Improvements* o A couple of performance tuning were done for I/O and loading Scheme files. o Now you can subclass <error> class as well as <exception> class to define your own error type. A new built-in macro guard, which is SRFI-34 compliant, can be used to handle errors selectively. Eventually the errors from built-in procedures will have more structured exception hierarchy. o New built-in system procedures: sys-lchown, sys-realpath. o Built-in sort routines now have stable versions, stable-sort and stable-sort!. o New built-in macro: let/cc. o New built-in keyword procedures: delete-keyword, delete-keyword!. o New built-in regexp procedure: rxmatch-num-matches. o Module file.util: new procedures: file-is-symlink?, file->string, file->string-list, file->list, file->sexp-list. o Module gauche.net: documented the previously experimental procedures: socket-send, socket-sendto, socket-recv, socket-recvfrom, socket-getpeername, socket-getsockname. Now these are official procedures. o Module gauche.process: process-command wasn't exported, even though it was documented. o Module gauche.test: you can control whether the error in the test procedure is reported or not by an envioronment variable GAUCHE_TEST_REPORT_ERROR and a global variable *test-report-error*. Useful to find a problem during testing. o Module www.cgi: new procedure cgi-get-metavariables; allows the user routine to take metavariables via cgi-metavariables parameter, so that cgi scripts can be easily modularized. o Module gauche.parseopt: support of "optional option-argument" is added. o Module gauche.array: homogeneous numeric array types are added. o Module text.html-lite: added frame-related tags. * *Bug Fixes* [snip]
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2004/08/08 07:05:38 minoura Exp $
|
|
#
|
|
|
|
DISTNAME= Gauche-0.8.1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minoura@NetBSD.org
|
|
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
|
|
COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
|
|
|
|
DEPENDS+= slib-[0-9]*:../../devel/slib
|
|
|
|
# Due to GC dynamic loading support, this package runs on limited platforms
|
|
# Plus, it is not LP64-safe
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc NetBSD-*-mipsel NetBSD-*-powerpc
|
|
ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* Darwin-*-*
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if (${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD")
|
|
. if ${OBJECT_FMT} != "ELF"
|
|
BROKEN=Test required on NetBSD/i386 a.out
|
|
. endif
|
|
.endif
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
CONFIGURE_ARGS+= --with-slib=${PREFIX}/share/slib
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
|
|
CONFIGURE_ARGS+= --enable-threads=none # must match w/ boehm-gc
|
|
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
|
|
|
|
_WITH_ICONV_LIB= ${BUILDLINK_LIBICONV_LDADD:M-l*:C/-l//}
|
|
LDFLAGS+= ${BUILDLINK_LIBICONV_LDADD}
|
|
|
|
USE_MAKEINFO= YES
|
|
INFO_FILES= gauche-refe.info gauche-refj.info
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if defined(GAUCHE_MULTIBYTE)
|
|
CONFIGURE_ARGS+= --enable-multibyte=${GAUCHE_MULTIBYTE}
|
|
.endif
|
|
|
|
.include "../../devel/boehm-gc/buildlink3.mk"
|
|
.include "../../devel/dlcompat/buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.if !empty(_WITH_ICONV_LIB)
|
|
CONFIGURE_ARGS+= --with-iconv-lib=${_WITH_ICONV_LIB}
|
|
.else
|
|
BUILDLINK_TRANSFORM+= S:-liconv:
|
|
.endif
|