2018-01-28 21:10:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.71 2018/01/28 20:10:53 wiz Exp $
|
2001-05-31 11:56:58 +02:00
|
|
|
#
|
|
|
|
|
Update gauche to 0.9.5
Release Notes:
Better R7RS conformance
* Keyword-symbol integration: Gauche keywords (e.g. :key) can be symbols
that are automatically bound to itself. It breaks the backward
compatibility in some corner cases, however, so we haven't make the
change in effect by default in 0.9.5. Setting the environment variable
GAUCHE_KEYWORD_IS_SYMBOL turns on this feature. See Keywords, for the
details. We urge you to test your code with this feature turned on,
for pretty soon (probably in the next release) we'll make this feature
effective by default.
* R7RS raise is now conformant of R7RS (which is slightly different from
Gauche's builtin raise, which is srfi-18 conformant).
New modules and procedures
* Renamed modules (old names are still valid, but new code should use
the new names):
+ Data structure implementations are now named data.*; so
util.queue, util.sparse, util.trie are renamed to data.queue,
data.sparse, data.trie.
+ Module text.unicode is renamed to gauche.unicode, for it's
essential for R7RS support.
* New modules:
+ data.cache - Cache
+ data.heap - Heap
+ data.ring-buffer - Ring buffer
+ data.imap - Immutable map
+ data.ideque - Immutable deque
+ text.console: Simple console control module, works on both
vt100-ish terminals and Windows console. Try examples/snake.scm to
see it in action.
+ util.dominator - Find a dominator tree of a directed graph.
+ util.levenshtein - Calculate various edit-dinstances.
+ util.unification - Unification algorithm.
* Low-level hygienic macro support by er-macro-transformer.
* New builtin macros and procedures:
+ and-let1.
+ macroexpand-all - Expands everything in the given form.
+ sys-available-processors - query # of processor cores at runtime.
+ symbol-append.
+ sys-getgroups, sys-mkdtemp.
+ debug-label - Get unique label of an object.
+ length<?, length>?, length>=?, length=? - We had length<=?, so why
not?
+ encode-float, inverse of decode-float.
* In gauche.uvector:
+ New procedures:string->u32vector!, string->s32vector!,
make-uvector, port->uvector
+ Generic accessor and mutator uvector-ref, uvector-set!.
* In gauche.sequence:
+ New searching procedures - sequence-contains,
break-list-by-sequence, break-list-by-sequence!, sequence->
kmp-stepper.
+ New utilities - common-prefix, common-prefix-io.
* In gauche.array: Add constructors u8array, etc., for the consistency.
* In gauche.lazy: lappend-map
* In gauche.generator: gflatten, uvector->generator.
* In gauche.process:
+ run-process-pipeline - for easier pipelining.
+ shell-tokenize-string.
* In gauche.termios: sys-termios-copy
* In gauche.test:
+ test-none-of - As an expected value.
+ test-script - To test script files.
* In gauche.vport: List ports are added. See open-input-char-list,
open-input-byte-list.
* In data.queue: mtqueue-num-waiting-readers.
* In data.trie: trie-longest-match.
* In data.random: samples$, for random sampling.
* In text.csv: Middle-layer procedures: csv-rows->tuples,
make-csv-header-parser, make-csv-record-parser.
* In rfc.uri: uri-ref to access components of uri conveniently.
* In rfc.http: http-status-code->description.
Added srfi supports
* srfi-69: Basic hash tables
* srfi-111: Boxes
* srfi-112: Environment inquiry
* srfi-113: Sets and Bags
* srfi-114: Comparators
* srfi-117: Mutable queues
* srfi-118: Simple adjustable-size strings
* srfi-121: Generators - Covered by gauche.generator.
* srfi-128: Comparators (reduced) - the comparator is actually built-in
to Gauche's core, so that other built-in mechanism such as hashtables,
treemaps, sort, etc. can take comparators.
* srfi-131: ERR5RS Record Syntax (reduced) - Subset of gauche.record.
* srfi-133: Vector library
* srfi-134: Immutable deques - Covered by data.ideque.
More pleasant interactive experience
* Better error message while loading/compiling, using <mixin-condition>
mechanism. Details.
* Improved describe.
* Toplevel REPL commands. See blog entry, or see the manual section
"Working in REPL"
* Scheme-defined procedures maintain source code and source location. It
can be queried by source-code and source-location. The source location
is also shown by describe. (Source code isn't kept for precompiled
Scheme code for now.)
* Online REPL document (info procedure, or ,info/,doc toplevel command)
now shows just the named entry.
* Experimental support of line-editing. If the environment variable
GAUCHE_READ_EDIT is set and the terminal is capable, you can use line
editing (with emacs-like key binding). This feature still in early
development stage and has number of known issues---especially,
multiline edit only partially work. If you're brave, give it a shot,
but don't blame me if your REPL explodes.
* You can invoke editor from repl by (ed file-or-procedure) (see ed). If
the source location is known, you can directly jump to the source of
the procedure, edit, and reload it.
* Now REPL consumes the trailing newline of input S-expr; that is, when
you type (read-line) on REPL, it waits for your input. Before, REPL
didn't consume the trailing newline, so (read-line) immediately
returned when it sees the newline character left in the input buffer,
but that confused users.
* use, select-module, export, import - Now these forms evaluate to zero
values instead of #<undef>, for less cluttering of REPL.
Other notable improvements
* gauche.configure: More feature tests on compilers and linking. Start
using package.scm for the source of package metainformation.
* Extended number syntax:
+ You can insert _ in prefixed numeric literal for readability, e.g.
#b1101_1000_0001_1101.
+ Polar notation of numeric literal recognize pi suffix, e.g.
2@0.5pi => 0.0+2.0i.
+ The reader recognizes CL-ish #<radix>r syntax, e.g. #3r121 for 121
on base 3 (which is 16 in decimal).
* Hashtables are now salted, meaning, it uses different hash functions
at least for each invocation of the program, so that it is immune to
the hash collision attack. The hash function is deprecated, replaced
by default-hash, portable-hash and legacy-hash. See the manual entry
for the details.
* sys-sleep, sys-nanosleep: Changed to retry sleep/nanosleep by default
if it is interrupted by as signal.
* A new debug special reader macro: #?,, which can be used as #?,(proc
arg ...). When evaluated, it displays the form (proc arg ...) and each
value of arg, then calls proc with those arguments and displays the
return value(s). Similar to #?= but you can also check the actual
value of arguments. The #?= stub is also improved to show the thread
from which it is displaying.
* gauche.vport: open-output-uvector now takes an option to make the
output buffer extendable.
* load searches .sld suffix as well, as some other R7RS implementations
do.
* Stack trace now works for threads (but you have to call report-error
within guard clauses explicitly, for by default unhandled error is
propagated to the thread that calls thread-join!).
* gauche.uvector: s8vector->string and u8vector->string now take
optional 'terminator' argument, convenient to extract NUL-terminated
string from fixed size buffer.
* gauche.net: More flexible port number selection in make-server-socket
and make-server-sockets.
* data.sparse: Allow default value per vector (a sparse vector returns
its default value when unset element is accessed).
* rfc.http: Handles ipv6-style server address spec, e.g. [::1]:8888.
* file.util: copy-file - Now takes :if-exists and :append keyword
arguments.
* crypt.bcrypt: Update bcrypt implementation and changed the default
from 2a to 2b.
* gauche.termios: Support mintty on MSYS.
* rfc.tls: Add basic server-side certificate support.
Changes that may alter the behavior of existing code
* gauche.generator: gtake - changed optional argument spec to match
srfi-121. Existing code that needs the old behavior can use a new
procedure gtake*.
* If a hygienic macro inserts a fresh toplevel identifier, that
identifier is renamed. E.g. if you say
(define-syntax define-x (syntax-rules () ((_) (define x #t))))
and then
(define-x)
the toplevel x is renamed and can't be referred to from outside. This
is not explicitly specified in R7RS, but renaming is consistent with
hygiene.
* U+180e Mongolian Vowel Separator is no longer treated as a whitespace
character, since Unicode 6.3.0 changed its category from Zs to Cf.
* when, unless - Now they require at least one expr in their body.
* require: Now loads a file into a special module, instead of #<module
gauche>. This may catch an error that was previously ignored. See the
manual entry for the details.
* include, include-ci: Now relative pathnames, including ones that begin
with ./ or ../, are taken relative to the includer file. Before, files
beginning with ./ and ../ are treated specially, just like load. But
it is less useful for include and just increases confusion.
Bug fixes
* Fixed numerous bugs in hygienic macro expander.
* When a module exports an inherited binding from renaming, it wasn't
searched properly.
* util.match: Fixed a bug that doesn't handle match expressions
generated by hygienic macros.
* Make -fcase-fold option affect REPL as well.
* fixnum-width: It returned a number one smaller than the correct value.
* Fixed a number reader bug handling very big or very small exponent.
* srfi-13: Fixed a bug in xsubstring when 'from' argument is negative.
* parameterize: Fixed a bug that failed to restore parameter values in
some edge cases.
2016-10-13 02:30:13 +02:00
|
|
|
DISTNAME= Gauche-0.9.5
|
- Update gauche to 0.9.2. See below for the list of changes.
- Replace the HOMEPAGE with the url used in the document
such as README etc.
- Drop minoura@ from MAINTAINER as per his request on twitter.
Brief summary of Gauche 0.9.2:
[New Features]
* Case mapping and character properties are fully supported,
compatible to R6RS and R7RS draft (both based on Unicode
standard). Character-wise case mapping (char-upcase etc.) and
property queries (char-alphabetic?, char-general-category,
etc.) are built-in. Context-aware string case mapping
(string-upcase etc.) is provided in the new text.unicode
module. (Note: srfi-13's string-upcase etc. are unchanged;
they are defined to use simple case mappings.) The text.unicode
module also provides conversion between utf-8/utf-16 and
Unicode codepoints.
* Windows binary distribution is now in MS installer (*.msi)
format, created with WiX. It's safer than the previous *.exe
format created by NSIS, which had a bug that smashes PATH
settings when it is too long.
* A convenient wrapper for atomic execution is added in
gauche.threads. See this intro post.
* Benchmarking utilities resembles to Perl's Benchmark module is
now available in gauche.time. See this post for an
introduction.
* with-lock-file: A long-awaited feature to use lock files
conveniently. It is in file.util module.
* Added full support of srfi-60, integer bitwise operations.
* gauche.cgen: Some API that Gauche uses to generate C code
become public. See the manual for the details.
[Incompatibile Changes]
* control.thread-pool: add-job! now takes timeout argument. If it
is omitted and the job queue is full, add-job! blocks. It is a
change from 0.9.1, in which add-job! returns immediately in
such case. To get the same behavior, pass 0 explicitly to the
timeout argument. The argument order of wait-all is also
changed to take timeout optional argument first. In 0.9.1 it
never timeouts.
* If --enable-multibyte flag is given to ./configure without
explicit encoding, we now assume utf-8. It used to be
euc-jp. This is for the consistency. We don't think this change
affects many, for the document has always been told to give
explicit encoding name for this option.
* The --enable-ipv6 configure option is turned on by default. It
shouldn't cause problems on modern OSes. If you ever get a compile
error in gauche.net module on a platform that lacks modern API,
specify --disable-ipv6 option to ./configure.
* (This is an internal change of undocumented feature. We mention
it just in case if some extension packages depend on this.) In
the initialization code generated by genstub or precomp, it
used to be possible to refer to the current module by mod. Now
you should use Scm_CurrentModule() instead. Also,
gauche.cgen.unit now doesn't include <gauche.h> automatically.
[Improvements]
* The compiler is improved to avoid creating a closure at
execution time when it doesn't close local environment. For
example, (map (^x (* x x)) lis) doesn't create a closure;
instead, the internal lambda is compiled as if it is a
toplevel-defined procedure. (Yeah, it's a simple lambda
lifting. We didn't do it since it could slow down the
compiler. Now the compiler is efficient enough to handle it.)
* Supports zero or multi-argument unquote/unquote-splicing, as
defined in R6RS.
* sys-exec and sys-fork-and-exec now supports :detached keyword
argument to make the child process detached from the parent's
process group.
* Buliltin reverse and reverse! takes optional list-tail
argument.
* A new builtin procedure map* that can deal with dotted list.
* Common Lisp-like ecase macro is added.
* The extended lambda formals (:key, :optional, etc) are now
available in define-method as well.
* New built-in function sys-clearenv, useful to fork subprocess
securely.
* rxmatch-case accepts (else => proc) form, just like case.
* Socket address objects (e.g. <sockaddr-un>) can now be compared
by equal? based on its content. Useful to put them in a
hashtable, for example.
* gauche.uvector: A new procedure uvector-copy! that can copy any
type of uvectors.
* gauche.test: A new test expected result constructor test-one-of
allows to check if the test result matches any one of possible
outcomes.
* control.thread-pool: Now a pool raises <thread-pool-shut-down>
condition if the pool has already be shut down and no longer
accepting new jobs. terminate-all now takes :cancel-queued-jobs
keyword argument to stop the pool immediately, instead of
waiting for all the jobs to be finished. Canceled jobs are
marked as killed . New APIs: thread-pool-results,
thread-pool-shut-down?.
* rfc.json: Allow construct-json to take optional output port for
the consistency.
* rfc.uri: A new procedure uri-merge that can be resolve a
relative uri in regart to a base uri.
* rfc.cookie: Recognize :http-only cookie attribute introduced in
RFC6265.
* Now the tilde `~' expansion of sys-normalize-pathname works on
Windows as well to refer to the current user's home directory;
it tries environment variables heuristically to find it. To
refer to other user's home directory by ~user is still only
available on Unix platforms, though.
* util.combinations: combinations is optimized to handle leaf
cases efficiently.
[Bux fixes]
* Fixed a bug that the number parser hangs when reading
2.2250738585072012e-308.
* Integer multiplication routine had a code that depended on
undefined behavior of C; it worked on gcc but revealed the bug
on clang-llvm.
* Fixed a module bug on the visibility of bindings of extended
modules.
* gauche.parameter: Fixed a couple of bugs on parameter objects.
* Numeric comparison procedures such as < didn't work correctly
when more than four arguments were given. The bug was
introduced by incorrect optimization.
* Fixed bugs in lognot, logand, logior and logxor, which crashed
when non-integer ratinoal numbers are passed.
* port->string, port->string-list: These procedures returned
prematurely when the input contains an illegal byte sequence
for internal encoding. Now they return an incomplete string
instead.
* srfi-1: Some srfi-1 procedures that are built-in were not
exported, causing errors when you wanted to import them
selectively, e.g. (use srfi-1 :only (fold)).
* util.queue: Fixed list->queue to work.
* binary.pack: Fixed a bug that the result may be truncated if
the input contains byte sequences that can be interpreted as
invalid character multibyte sequences.
* srfi-42: Fixed a hygiene bug; the previous versions failed when
only toplevel macros are imported using :only import option.
* rfc.json: Fixed a bug that didn't escape double-quotes in the
string, and didn't handle empty array.
* Coding-aware ports didn't count lines correctly in CR-only or
CRLF line endings.
* Fixed a problem that caused crash after changing metaclasses of
a class metaobject. An additional protection mechanism is in
place in the class metaobject so that it won't be in an
inconsistent state unexpectedly.
* Fixed sys-setenv in which you couldn't omit the overwrite
argument, even if it was described optional.
* Fixed build problem of gauche.net on Solaris.
* Fixed a bug in gauche-package that caused an error when
*load-path* contained a nonexistent path.
* Fixed a bug in string comparison routine that surfaces in a
special architecture.
* The printed output of <time> was incorrect when its value was
negative.
* There was a bug in the reader it reads ().() incorrectly.
* Fixed a bug in format to allow ~* to position after the last
argument.
* Fixed GC compliation problem on OSX Lion.
2011-09-16 09:49:25 +02:00
|
|
|
#PKGREVISION= 1
|
2018-01-28 21:10:34 +01:00
|
|
|
PKGREVISION= 1
|
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
|
- Update gauche to 0.9.2. See below for the list of changes.
- Replace the HOMEPAGE with the url used in the document
such as README etc.
- Drop minoura@ from MAINTAINER as per his request on twitter.
Brief summary of Gauche 0.9.2:
[New Features]
* Case mapping and character properties are fully supported,
compatible to R6RS and R7RS draft (both based on Unicode
standard). Character-wise case mapping (char-upcase etc.) and
property queries (char-alphabetic?, char-general-category,
etc.) are built-in. Context-aware string case mapping
(string-upcase etc.) is provided in the new text.unicode
module. (Note: srfi-13's string-upcase etc. are unchanged;
they are defined to use simple case mappings.) The text.unicode
module also provides conversion between utf-8/utf-16 and
Unicode codepoints.
* Windows binary distribution is now in MS installer (*.msi)
format, created with WiX. It's safer than the previous *.exe
format created by NSIS, which had a bug that smashes PATH
settings when it is too long.
* A convenient wrapper for atomic execution is added in
gauche.threads. See this intro post.
* Benchmarking utilities resembles to Perl's Benchmark module is
now available in gauche.time. See this post for an
introduction.
* with-lock-file: A long-awaited feature to use lock files
conveniently. It is in file.util module.
* Added full support of srfi-60, integer bitwise operations.
* gauche.cgen: Some API that Gauche uses to generate C code
become public. See the manual for the details.
[Incompatibile Changes]
* control.thread-pool: add-job! now takes timeout argument. If it
is omitted and the job queue is full, add-job! blocks. It is a
change from 0.9.1, in which add-job! returns immediately in
such case. To get the same behavior, pass 0 explicitly to the
timeout argument. The argument order of wait-all is also
changed to take timeout optional argument first. In 0.9.1 it
never timeouts.
* If --enable-multibyte flag is given to ./configure without
explicit encoding, we now assume utf-8. It used to be
euc-jp. This is for the consistency. We don't think this change
affects many, for the document has always been told to give
explicit encoding name for this option.
* The --enable-ipv6 configure option is turned on by default. It
shouldn't cause problems on modern OSes. If you ever get a compile
error in gauche.net module on a platform that lacks modern API,
specify --disable-ipv6 option to ./configure.
* (This is an internal change of undocumented feature. We mention
it just in case if some extension packages depend on this.) In
the initialization code generated by genstub or precomp, it
used to be possible to refer to the current module by mod. Now
you should use Scm_CurrentModule() instead. Also,
gauche.cgen.unit now doesn't include <gauche.h> automatically.
[Improvements]
* The compiler is improved to avoid creating a closure at
execution time when it doesn't close local environment. For
example, (map (^x (* x x)) lis) doesn't create a closure;
instead, the internal lambda is compiled as if it is a
toplevel-defined procedure. (Yeah, it's a simple lambda
lifting. We didn't do it since it could slow down the
compiler. Now the compiler is efficient enough to handle it.)
* Supports zero or multi-argument unquote/unquote-splicing, as
defined in R6RS.
* sys-exec and sys-fork-and-exec now supports :detached keyword
argument to make the child process detached from the parent's
process group.
* Buliltin reverse and reverse! takes optional list-tail
argument.
* A new builtin procedure map* that can deal with dotted list.
* Common Lisp-like ecase macro is added.
* The extended lambda formals (:key, :optional, etc) are now
available in define-method as well.
* New built-in function sys-clearenv, useful to fork subprocess
securely.
* rxmatch-case accepts (else => proc) form, just like case.
* Socket address objects (e.g. <sockaddr-un>) can now be compared
by equal? based on its content. Useful to put them in a
hashtable, for example.
* gauche.uvector: A new procedure uvector-copy! that can copy any
type of uvectors.
* gauche.test: A new test expected result constructor test-one-of
allows to check if the test result matches any one of possible
outcomes.
* control.thread-pool: Now a pool raises <thread-pool-shut-down>
condition if the pool has already be shut down and no longer
accepting new jobs. terminate-all now takes :cancel-queued-jobs
keyword argument to stop the pool immediately, instead of
waiting for all the jobs to be finished. Canceled jobs are
marked as killed . New APIs: thread-pool-results,
thread-pool-shut-down?.
* rfc.json: Allow construct-json to take optional output port for
the consistency.
* rfc.uri: A new procedure uri-merge that can be resolve a
relative uri in regart to a base uri.
* rfc.cookie: Recognize :http-only cookie attribute introduced in
RFC6265.
* Now the tilde `~' expansion of sys-normalize-pathname works on
Windows as well to refer to the current user's home directory;
it tries environment variables heuristically to find it. To
refer to other user's home directory by ~user is still only
available on Unix platforms, though.
* util.combinations: combinations is optimized to handle leaf
cases efficiently.
[Bux fixes]
* Fixed a bug that the number parser hangs when reading
2.2250738585072012e-308.
* Integer multiplication routine had a code that depended on
undefined behavior of C; it worked on gcc but revealed the bug
on clang-llvm.
* Fixed a module bug on the visibility of bindings of extended
modules.
* gauche.parameter: Fixed a couple of bugs on parameter objects.
* Numeric comparison procedures such as < didn't work correctly
when more than four arguments were given. The bug was
introduced by incorrect optimization.
* Fixed bugs in lognot, logand, logior and logxor, which crashed
when non-integer ratinoal numbers are passed.
* port->string, port->string-list: These procedures returned
prematurely when the input contains an illegal byte sequence
for internal encoding. Now they return an incomplete string
instead.
* srfi-1: Some srfi-1 procedures that are built-in were not
exported, causing errors when you wanted to import them
selectively, e.g. (use srfi-1 :only (fold)).
* util.queue: Fixed list->queue to work.
* binary.pack: Fixed a bug that the result may be truncated if
the input contains byte sequences that can be interpreted as
invalid character multibyte sequences.
* srfi-42: Fixed a hygiene bug; the previous versions failed when
only toplevel macros are imported using :only import option.
* rfc.json: Fixed a bug that didn't escape double-quotes in the
string, and didn't handle empty array.
* Coding-aware ports didn't count lines correctly in CR-only or
CRLF line endings.
* Fixed a problem that caused crash after changing metaclasses of
a class metaobject. An additional protection mechanism is in
place in the class metaobject so that it won't be in an
inconsistent state unexpectedly.
* Fixed sys-setenv in which you couldn't omit the overwrite
argument, even if it was described optional.
* Fixed build problem of gauche.net on Solaris.
* Fixed a bug in gauche-package that caused an error when
*load-path* contained a nonexistent path.
* Fixed a bug in string comparison routine that surfaces in a
special architecture.
* The printed output of <time> was incorrect when its value was
negative.
* There was a bug in the reader it reads ().() incorrectly.
* Fixed a bug in format to allow ~* to position after the last
argument.
* Fixed GC compliation problem on OSX Lion.
2011-09-16 09:49:25 +02:00
|
|
|
HOMEPAGE= http://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}
|
2008-03-02 01:55:15 +01:00
|
|
|
|
|
|
|
CHECK_BUILTIN.iconv:= yes
|
2012-05-13 10:56:28 +02:00
|
|
|
.include "../../converters/libiconv/builtin.mk"
|
|
|
|
CHECK_BUILTIN.iconv:= no
|
2008-03-02 01:55:15 +01:00
|
|
|
|
2008-03-01 20:50:13 +01:00
|
|
|
.if !empty(USE_BUILTIN.iconv:M[nN][oO])
|
|
|
|
CONFIGURE_ARGS+= --with-iconv-lib=${BUILDLINK_LIBNAME.iconv}
|
2014-12-03 15:00:57 +01:00
|
|
|
ICONV_LDFLAGS= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib \
|
|
|
|
-L${BUILDLINK_PREFIX.iconv}/lib
|
2008-03-02 01:55:15 +01:00
|
|
|
ALL_ENV+= \
|
2014-12-03 15:00:57 +01:00
|
|
|
ICONV_LDFLAGS=${ICONV_LDFLAGS:Q}
|
2008-02-26 00:14:19 +01:00
|
|
|
.endif
|
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
|
2007-01-26 14:07:58 +01:00
|
|
|
USE_TOOLS+= gzip makeinfo
|
|
|
|
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"
|