2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.74 2020/01/26 17:31:27 rillig Exp $
|
2001-05-31 11:56:58 +02:00
|
|
|
#
|
|
|
|
|
Update to 0.9.6
* Use gmake for pattern rules
Changelog:
Release 0.9.6
Major feature upgrade
* Notable feature enhancement:
* New modules and procedures
+ R7RS-Large Red Edition support (WiLiKi:Gauche:R7RS-RedEdition)
+ New srfi support:
+ Other new modules and procedures:
* Incompatible changes
* Other bug fixes
Notable feature enhancement:
* Static linking and standalone executable support: Now you can create a
standalone executable from Gauche program. See blog entry and "Building
standalone executables" section.
* Single shell-script installer (blog entry).
* REPL enhancement: Pretty printing (blog entry), online document display (
blog entry) and search (blog entry).
* Method dispatch optimizations (1, 2).
* Procedure inlining optimizations (1, 2)
* Windows console Japanese handling: Thanks to @hamayama, numerous fixes to
use Japanese on Windows command prompt is incorporated.
* Bump to Boehm gc 7.6.6, thanks to @qykth-git.
* Support mbedTLS as an additional TLS support, thanks to @qykth-git. See
rfc.tls for the details.
* format finally supports floating number formatting ~f. It also supports a
subtle rounding mode switch regarding binary to decimal conversion (blog
post).
* Support of using multiple versions of Gauche in parallel---from 0.9.6 and
after, you can invoke a different version of Gauche by gosh -vVERSION, as
far as VERSION of Gauche is also installed. This isn't much useful now
(VERSION must be 0.9.6 or later), but will be handy with future releases.
* Sampling profiler now works on Windows, thanks to Saito Atsushi and
@hamayama (although it can only sample the attached thread).
New modules and procedures
R7RS-Large Red Edition support (WiLiKi:Gauche:R7RS-RedEdition)
12 libraries (out of 17) are supported:
* scheme.list List library (formerly srfi-1)
* scheme.vector Vector library (formerly srfi-133)
* scheme.sort Sort libraries (formerly srfi-132)
* scheme.set Sets and bags (formerly srfi-113)
* scheme.charset Character-set library (formerly srfi-14)
* scheme.hash-table Intermediate hash tables (formerly srfi-125)
* scheme.ideque Immutable deques (formerly srfi-134
* scheme.generator Generators (formerly srfi-121)
* scheme.lseq Lazy sequences (formerly srfi-127)
* scheme.box Boxes (formerly srfi-111)
* scheme.list-queue Mutable queues (formerly srfi-117)
* scheme.comparator Comparators (formerly srfi-128)
Those are still accessible as srfi-* names, but new code is recommended to use
the scheme.* names.
New srfi support:
* srfi-64 A Scheme API for test suites
* srfi-66 Octet vectors
* srfi-74 Octet-addressed binary blocks
* srfi-96 SLIB prerequisites
* srfi-129 Titlecase procedures
* srfi-141 Integer division
* srfi-143 Fixnums
* srfi-145 Assumptions (built-in)
* srfi-146 Mappings
+ srfi-146.hash Hashmaps
* srfi-149 Basic Syntax-rules template extensions (built-in)
* srfi-151 Bitwise operations
* srfi-152 String library (reduced)
* srfi-158 Generators and accumulators
Other new modules and procedures:
* pprint - pretty printer.
* assume-type macro and type-error procedure.
* define-inline is now official.
* hash-table-compare-as-sets, tree-map-compare-as-sets - compare those
mappings as sets
* let-values, let*-values: now built-in.
* In gauche.process: do-process!, do-pipeline, run-pipeline!.
* In gauche.unicode: char-east-asian-width
* In gauche.uvector: uvector-binary-search, u8vector=? ..., u8vector-compare
....
* In gauche.charconv: Conversion routines accepts u8vector as well as
strings.
* In gauche.sequence: delete-neighbor-dups, delete-neighbor-dups!,
delete-neighbor-dups-squeeze!, group-contiguous-sequence
* In gauche.threads: atomic and atomic-update! allows more than one timeout
values.
* text.template: Simple template expander, based on built-in string
interpolation feature.
* Char-set can be immutable. char-set-freeze and char-set-freeze! are used to
make a char set immutable. Literal char-sets are immutable, as other
literal objects.
* rfc.http: You can now use stunnel process to do https connection instead of
Gauche's rfc.tls module. Note that it only works with command mode of
stunnel---which isn't available on Windows.
* rfc.tls: Now that we support mbedTLS and server certificate authentication,
a minimal document is added.
* binary.io: get-uint, get-sint, put-uint!, put-sint!.
* gauche.generator: generator->uvector, generator->uvector!, generator->
bytevector, generator->bytevector!.
* data.random: regular-string$ - creates a generator that generates random
strings that match the given regexp.
* string-incomplete->complete: Add :escape mode to escape illegal bytes in
lossless way.
Incompatible changes
Some change undocumented behaviors; others change because of bug fix.
* Literal character sets (#[chars]) are now immutable, as other literal
objects; it will raise an error if you try to mutate it.
* getter-with-setter now associates the setter to the getter in immutable way
('locked'); it will raise an error if you try to change it. It is the way
specified in srfi-17. It also allows Gauche to inline setters. (NB: Many
predefined setters are now locked. If your existing code alters them it
will cause an error.)
* list*, cons* - Requires at least one arg, as specified in srfi-1. Zero
argument doesn't make sense, although previous versions of Gauche allowed
it.
* append, append! - Now it is an error if the arguments except the last one
is a dotted list. We've tolerated it before, but it's rather error prone.
* util.match: The way to match record instance with positional variables are
changed for more reasonable way. We hope no code depends on the previous
way, which was broken anyway. See the blog entry for the details.
* twos-complement-factor: We fix the behavior when 0 is passed; it used to
return 0, now it returns -1. The latter is consistent with srfi-60.
Unfortunately we documented the former behavior, so it breaks
compatibility.
* string-split: Splitting an empty string now yields an empty list instead of
(""), as srfi-152 specifies
Other bug fixes
There are too many; we list up some notable ones.
* The behavior of guard when no clauses are satisfied and the exception is
reraised is now R7RS-compatible ( https://github.com/shirok/Gauche/pull/335
). When using R7RS, with-exception-handler is R7RS compatible (which is
slightly different from built-in with-exception-handler, compatible to
srfi-18).
* unwind-protect: Fix bug with interaction of call/cc.
* rfc.tls: axTLS interface had MT-hazard.
* er-macro-transformer: Fix hygienity issue ( https://github.com/shirok/
Gauche/issues/250 )
2018-07-24 16:52:18 +02:00
|
|
|
DISTNAME= Gauche-0.9.6
|
2001-05-31 11:56:58 +02:00
|
|
|
CATEGORIES= lang
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
|
2001-05-31 11:56:58 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2012-05-30 04:50:11 +02:00
|
|
|
MAINTAINER= enami@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://practical-scheme.net/gauche/
|
2014-07-21 10:14:47 +02:00
|
|
|
COMMENT= R7RS Scheme implementation aimed to be a handy tool for daily works
|
2016-01-26 15:46:46 +01:00
|
|
|
LICENSE= modified-bsd # see work/${DISTNAME}/COPYING
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2008-03-01 20:50:13 +01:00
|
|
|
DEPENDS+= slib-[0-9]*:../../devel/slib
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2005-03-07 04:16:46 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2008-03-02 01:55:15 +01:00
|
|
|
MAKE_JOBS_SAFE= no
|
2008-03-01 20:50:13 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2015-11-25 13:51:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-slib=${LOCALBASE}/share/slib
|
2007-01-20 07:35:45 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-threads=pthreads
|
2006-03-31 20:35:22 +02:00
|
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
|
2018-07-26 18:55:29 +02:00
|
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
2003-08-09 11:31:25 +02:00
|
|
|
|
2014-08-28 19:45:53 +02:00
|
|
|
USE_LANGUAGES= c c99
|
2008-02-26 00:14:19 +01:00
|
|
|
USE_LIBTOOL= yes
|
Update to 0.9.6
* Use gmake for pattern rules
Changelog:
Release 0.9.6
Major feature upgrade
* Notable feature enhancement:
* New modules and procedures
+ R7RS-Large Red Edition support (WiLiKi:Gauche:R7RS-RedEdition)
+ New srfi support:
+ Other new modules and procedures:
* Incompatible changes
* Other bug fixes
Notable feature enhancement:
* Static linking and standalone executable support: Now you can create a
standalone executable from Gauche program. See blog entry and "Building
standalone executables" section.
* Single shell-script installer (blog entry).
* REPL enhancement: Pretty printing (blog entry), online document display (
blog entry) and search (blog entry).
* Method dispatch optimizations (1, 2).
* Procedure inlining optimizations (1, 2)
* Windows console Japanese handling: Thanks to @hamayama, numerous fixes to
use Japanese on Windows command prompt is incorporated.
* Bump to Boehm gc 7.6.6, thanks to @qykth-git.
* Support mbedTLS as an additional TLS support, thanks to @qykth-git. See
rfc.tls for the details.
* format finally supports floating number formatting ~f. It also supports a
subtle rounding mode switch regarding binary to decimal conversion (blog
post).
* Support of using multiple versions of Gauche in parallel---from 0.9.6 and
after, you can invoke a different version of Gauche by gosh -vVERSION, as
far as VERSION of Gauche is also installed. This isn't much useful now
(VERSION must be 0.9.6 or later), but will be handy with future releases.
* Sampling profiler now works on Windows, thanks to Saito Atsushi and
@hamayama (although it can only sample the attached thread).
New modules and procedures
R7RS-Large Red Edition support (WiLiKi:Gauche:R7RS-RedEdition)
12 libraries (out of 17) are supported:
* scheme.list List library (formerly srfi-1)
* scheme.vector Vector library (formerly srfi-133)
* scheme.sort Sort libraries (formerly srfi-132)
* scheme.set Sets and bags (formerly srfi-113)
* scheme.charset Character-set library (formerly srfi-14)
* scheme.hash-table Intermediate hash tables (formerly srfi-125)
* scheme.ideque Immutable deques (formerly srfi-134
* scheme.generator Generators (formerly srfi-121)
* scheme.lseq Lazy sequences (formerly srfi-127)
* scheme.box Boxes (formerly srfi-111)
* scheme.list-queue Mutable queues (formerly srfi-117)
* scheme.comparator Comparators (formerly srfi-128)
Those are still accessible as srfi-* names, but new code is recommended to use
the scheme.* names.
New srfi support:
* srfi-64 A Scheme API for test suites
* srfi-66 Octet vectors
* srfi-74 Octet-addressed binary blocks
* srfi-96 SLIB prerequisites
* srfi-129 Titlecase procedures
* srfi-141 Integer division
* srfi-143 Fixnums
* srfi-145 Assumptions (built-in)
* srfi-146 Mappings
+ srfi-146.hash Hashmaps
* srfi-149 Basic Syntax-rules template extensions (built-in)
* srfi-151 Bitwise operations
* srfi-152 String library (reduced)
* srfi-158 Generators and accumulators
Other new modules and procedures:
* pprint - pretty printer.
* assume-type macro and type-error procedure.
* define-inline is now official.
* hash-table-compare-as-sets, tree-map-compare-as-sets - compare those
mappings as sets
* let-values, let*-values: now built-in.
* In gauche.process: do-process!, do-pipeline, run-pipeline!.
* In gauche.unicode: char-east-asian-width
* In gauche.uvector: uvector-binary-search, u8vector=? ..., u8vector-compare
....
* In gauche.charconv: Conversion routines accepts u8vector as well as
strings.
* In gauche.sequence: delete-neighbor-dups, delete-neighbor-dups!,
delete-neighbor-dups-squeeze!, group-contiguous-sequence
* In gauche.threads: atomic and atomic-update! allows more than one timeout
values.
* text.template: Simple template expander, based on built-in string
interpolation feature.
* Char-set can be immutable. char-set-freeze and char-set-freeze! are used to
make a char set immutable. Literal char-sets are immutable, as other
literal objects.
* rfc.http: You can now use stunnel process to do https connection instead of
Gauche's rfc.tls module. Note that it only works with command mode of
stunnel---which isn't available on Windows.
* rfc.tls: Now that we support mbedTLS and server certificate authentication,
a minimal document is added.
* binary.io: get-uint, get-sint, put-uint!, put-sint!.
* gauche.generator: generator->uvector, generator->uvector!, generator->
bytevector, generator->bytevector!.
* data.random: regular-string$ - creates a generator that generates random
strings that match the given regexp.
* string-incomplete->complete: Add :escape mode to escape illegal bytes in
lossless way.
Incompatible changes
Some change undocumented behaviors; others change because of bug fix.
* Literal character sets (#[chars]) are now immutable, as other literal
objects; it will raise an error if you try to mutate it.
* getter-with-setter now associates the setter to the getter in immutable way
('locked'); it will raise an error if you try to change it. It is the way
specified in srfi-17. It also allows Gauche to inline setters. (NB: Many
predefined setters are now locked. If your existing code alters them it
will cause an error.)
* list*, cons* - Requires at least one arg, as specified in srfi-1. Zero
argument doesn't make sense, although previous versions of Gauche allowed
it.
* append, append! - Now it is an error if the arguments except the last one
is a dotted list. We've tolerated it before, but it's rather error prone.
* util.match: The way to match record instance with positional variables are
changed for more reasonable way. We hope no code depends on the previous
way, which was broken anyway. See the blog entry for the details.
* twos-complement-factor: We fix the behavior when 0 is passed; it used to
return 0, now it returns -1. The latter is consistent with srfi-60.
Unfortunately we documented the former behavior, so it breaks
compatibility.
* string-split: Splitting an empty string now yields an empty list instead of
(""), as srfi-152 specifies
Other bug fixes
There are too many; we list up some notable ones.
* The behavior of guard when no clauses are satisfied and the exception is
reraised is now R7RS-compatible ( https://github.com/shirok/Gauche/pull/335
). When using R7RS, with-exception-handler is R7RS compatible (which is
slightly different from built-in with-exception-handler, compatible to
srfi-18).
* unwind-protect: Fix bug with interaction of call/cc.
* rfc.tls: axTLS interface had MT-hazard.
* er-macro-transformer: Fix hygienity issue ( https://github.com/shirok/
Gauche/issues/250 )
2018-07-24 16:52:18 +02:00
|
|
|
USE_TOOLS+= gmake gzip makeinfo
|
2007-01-26 14:07:58 +01:00
|
|
|
TEST_TARGET= check
|
2010-02-20 14:51:12 +01:00
|
|
|
INFO_FILES= yes
|
|
|
|
|
|
|
|
# refer %install in ${WRKSRC}/Gauche.spec
|
|
|
|
INSTALL_TARGET= install-pkg install-doc
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2010-02-25 20:07:53 +01:00
|
|
|
# Does relink internally
|
|
|
|
BUILDLINK_PASSTHRU_RPATHDIRS+= ${WRKSRC}
|
|
|
|
|
2004-11-26 10:39:30 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2007-01-20 07:35:45 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-08-09 11:31:25 +02:00
|
|
|
|
2006-03-31 20:35:22 +02:00
|
|
|
post-install:
|
2008-02-26 00:14:19 +01:00
|
|
|
gzip -d ${DESTDIR}${PREFIX}/${PKGINFODIR}/gauche-ref*gz
|
2006-03-31 20:35:22 +02:00
|
|
|
|
2008-03-01 20:50:13 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2014-08-28 19:45:53 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2006-03-31 20:35:22 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|