Commit graph

162 commits

Author SHA1 Message Date
wiz
f2e68c7232 Switch installation prefix to ${PREFIX}/guile/1.8 in preparation for
making guile20 the default guile.

Untested except for compilation.

As proposed on tech-pkg.
2016-08-03 15:03:03 +00:00
wiz
a1cd05cf52 Update DESCR. 2016-08-03 12:31:28 +00:00
wiz
2b0a009d0e Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:37:46 +00:00
jperkin
db1332a441 Use OPSYSVARS. 2016-02-25 14:42:55 +00:00
agc
54622f28e2 Add SHA512 digests for distfiles for lang category
Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 22:50:31 +00:00
dsainty
6e2c3a2b44 Patch around gtexinfo 5.2's high-and-mighty attitude towards indiscretions. 2013-11-30 07:06:25 +00:00
joerg
de73707902 Make the newline processing even more aggressive by removing the line
markers first and killing all newlines before splitting up the magic
markers. Fixes build of guile-gnome with Clang. Bump revision.
2013-11-13 22:49:31 +00:00
roy
fb712fc6b0 guile doesn't use any curses, termcap or terminfo 2013-10-18 15:53:27 +00:00
joerg
b3194a4d58 Improve robustness of the C post-processing to deal with variations in
Clang output.
2013-10-04 18:35:22 +00:00
gdt
77bb26a7f3 Remove -Dmacosx (on OSX only, obviously).
Reported by J. Lewis Muir on pkgsrc-users@ to fix build on 10.8.
Does not change behavior on 10.7; build fails much later at same place
either way.
2013-09-07 11:53:23 +00:00
ryoon
f8e628f818 * .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
2013-07-15 02:02:17 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
gdt
70ab5e49b6 Note in DESCR that this is old but the newest in pkgsrc. 2012-12-05 23:42:01 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
dmcmahill
f3220328f0 Increase default stack limit. This gets around a problem where the
standalone guile program fails to run (with a guile stack overflow)
on at least NetBSD-5.1/alpha.
http://lists.gnu.org/archive/html/guile-user/2009-12/msg00019.html
and
http://lists.gnu.org/archive/html/guile-devel/2009-03/msg00114.html
show that others have had problems here.
2011-05-12 12:15:41 +00:00
asau
56ad733bed Update to Guile 1.8.8
Changes in 1.8.8 (since 1.8.7)

* Bugs fixed

** Fix possible buffer overruns when parsing numbers
** Fix random number generator on 64-bit platforms

Previously the `scm_c_random' function would crash or return only 32-bit
worth of randomness.  In addition, the new `scm_c_random64' function
explicitly returns 64 bits of randomness.

** Add missing range checks in `vector-move-left!' and `vector-move-right!'

Previously these procedures could write past the end of a vector.

** Avoid clash with system setjmp/longjmp on IA64
** Don't dynamically link an extension that is already registered
** Fix `wrong type arg' exceptions with IPv6 addresses
** Fix typos in `(srfi srfi-19)'
** Have `(srfi srfi-35)' provide named struct vtables
** Fix C documentation extraction ("snarfing") with recent GCC versions
** Fix some Interix build problems
** Fix Tru64 build problems
** Fix GC-related build issues on Solaris 10 x86 with Sun Studio 12
** Several small documentation fixes
2010-12-25 09:03:41 +00:00
gdt
a19b3eb028 Enhance gc_os_dep.c patch for Solaris. From Marion Hakanson on
pkgsrc-users.
2010-04-18 00:31:55 +00:00
asau
1807ff2338 Recursive revision bump for GMP update, 2nd part. 2010-03-24 21:54:15 +00:00
asau
00708ce7e3 Recursive revision bump for GMP update. 2010-03-24 19:43:21 +00:00
joerg
0501645a5e Recursive bump for libltdl 2009-12-15 23:41:45 +00:00
wiz
d95053feae Update to 1.8.7, set LICENSE.
Changes in 1.8.7 (since 1.8.6)

* Bugs fixed

** Fix compilation with `--disable-deprecated'
** Fix %fast-slot-ref/set!, to avoid possible segmentation fault
** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion
** Fix build problem when scm_t_timespec is different from struct timespec
** Fix build when compiled with -Wundef -Werror
** More build fixes for `alphaev56-dec-osf5.1b' (Tru64)
** Build fixes for `powerpc-ibm-aix5.3.0.0' (AIX 5.3)
** With GCC, always compile with `-mieee' on `alpha*' and `sh*'
** Better diagnose broken `(strftime "%z" ...)' in `time.test' (bug #24130)
** Fix parsing of SRFI-88/postfix keywords longer than 128 characters
** Fix reading of complex numbers where both parts are inexact decimals

** Allow @ macro to work with (ice-9 syncase)

Previously, use of the @ macro in a module whose code is being
transformed by (ice-9 syncase) would cause an "Invalid syntax" error.
Now it works as you would expect (giving the value of the specified
module binding).

** Have `scm_take_locale_symbol ()' return an interned symbol (bug #25865)
** Fix potential deadlocks when running on multiple threads

** Fix problems building with the i586-mingw32msvc cross-compiler

It's now possible to build Guile for Windows by using the
i586-mingw32msvc cross-compiler on GNU/Linux.  This kind of build
produces DLLs and a main program that can be copied to and used on a
Windows PC.  For how to do this, see the `Cross building Guile'
section in `README'.
2009-08-16 14:00:50 +00:00
joerg
edbc2fac64 Replace @exec/@unexec with @pkgdir or drop it. 2009-06-14 20:34:12 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
drochner
afee03fe6a support NetBSD's pthread_attr_get_np() which is similar to Linux's
pthread_getattr_np(), just different,
needed for get_thread_stack_base() to work which is needed for
the scm_init_guile() API
approved by gdt
bump PKGREVISION
2009-04-07 10:53:07 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
gdt
93c2fed2cc Restore a fixed version of patch-ah. While -R was in the string, it
was there because guile was built against gmp etc. from /usr/pkg, not
present to let programs find -lguile.  Therefore, add in rpath for
$(libdir) when we add in -L for libdir.

This looks ok to me, but I will be away AFK most of the day, so feel
free to remove the line in distinfo and re-commit if this turns out to
be bad.
2008-12-15 15:26:47 +00:00
gdt
efb528fb82 Remove patch to add -Wl,-R to guile-config link. I had borked it when
merging to the new guile-config code, and it turns out not to be
necessary since there is some other mechanism to add rpath.  Arguably
it should still be added, as the later rpath might only be there for
dependencies.  (Plus, depending programs should use pkg-config
instead.)
2008-12-15 15:02:13 +00:00
gdt
79a74c9039 Update to 1.8.6. Adjust patch-ah slightly for new upstream code.
Delete patch-aa as the whole lt_preloaded_symbols bit is gone upstream.

Changes in 1.8.6 (since 1.8.5)

* New features (see the manual for details)

** New convenience function `scm_c_symbol_length ()'

** Single stepping through code from Emacs

When you use GDS to evaluate Scheme code from Emacs, you can now use
`C-u' to indicate that you want to single step through that code. See
`Evaluating Scheme Code' in the manual for more details.

** New "guile(1)" man page!

* Changes to the distribution

** Automake's `AM_MAINTAINER_MODE' is no longer used

Thus, the `--enable-maintainer-mode' configure option is no longer
available: Guile is now always configured in "maintainer mode".

** `ChangeLog' files are no longer updated

Instead, changes are detailed in the version control system's logs.  See
the top-level `ChangeLog' files for details.

* Bugs fixed

** `symbol->string' now returns a read-only string, as per R5RS
** Fix incorrect handling of the FLAGS argument of `fold-matches'
** `guile-config link' now prints `-L$libdir' before `-lguile'
** Fix memory corruption involving GOOPS' `class-redefinition'
** Fix possible deadlock in `mutex-lock'
** Fix build issue on Tru64 and ia64-hp-hpux11.23 (`SCM_UNPACK' macro)
** Fix build issue on mips, mipsel, powerpc and ia64 (stack direction)
** Fix build issue on hppa2.0w-hp-hpux11.11 (`dirent64' and `readdir64_r')
** Fix build issue on i386-unknown-freebsd7.0 ("break strict-aliasing rules")
** Fix misleading output from `(help rationalize)'
** Fix build failure on Debian hppa architecture (bad stack growth detection)
** Fix `gcd' when called with a single, negative argument.
** Fix `Stack overflow' errors seen when building on some platforms
** Fix bug when `scm_with_guile ()' was called several times from the
   same thread
** The handler of SRFI-34 `with-exception-handler' is now invoked in the
   dynamic environment of the call to `raise'
** Fix potential deadlock in `make-struct'
** Fix compilation problem with libltdl from Libtool 2.2.x
** Fix sloppy bound checking in `string-{ref,set!}' with the empty string
2008-12-10 23:11:55 +00:00
drochner
65c373db47 avoid hidden dependency on emacs, should fix build problem reported by wiz 2008-06-02 16:38:20 +00:00
drochner
b60498a99b update to 1.8.5
changes:
-new module: `(srfi srfi-88)'
-New `postfix' read option, for SRFI-88 keyword syntax
-Some I/O primitives have been inlined, which improves I/O performance
-New object-based traps infrastructure
-New support for working on Guile code from within Emacs
-bugfixes

pkgsrc note: added a patch which affects builds without thread
 support only (fixes crash on termination)

approved by gdt
2008-05-30 17:10:04 +00:00
tnn
5ae09460c0 fix dup post-patch target for darwin. 2008-03-29 05:12:16 +00:00
gdt
1b22e43866 ENOCOFFEE: PKGREVISION+=2 to make up for previous PKGREVISION-- with
patch change.
2008-02-27 12:35:48 +00:00
gdt
49a9d175e2 Simplify approach to dealing with upstream cruft. 2008-02-27 12:19:45 +00:00
gdt
6332bd6a56 fix PLIST 2008-02-22 02:28:06 +00:00
gdt
c394d9ec8a Update to 1.8.4. Parts of patch-ae were merged upstream.
(Bug fixes only from 1.8.3.)
2008-02-19 23:33:35 +00:00
joerg
17728923b0 Just use full destdir support here. 2008-01-04 18:17:16 +00:00
ghen
ccf005796b Basic DESTDIR support. 2008-01-04 14:48:26 +00:00
gdt
2229c58acd Update to 1.8.3. Several patches were merged upstream.
Changes in 1.8.3 (since 1.8.2)

* New modules (see the manual for details)

** `(srfi srfi-35)'
** `(srfi srfi-37)'

* Bugs fixed

** The `(ice-9 slib)' module now works as expected
** Expressions like "(set! 'x #t)" no longer yield a crash
** Warnings about duplicate bindings now go to stderr
** A memory leak in `make-socket-address' was fixed
** Alignment issues (e.g., on SPARC) in network routines were fixed
** A threading issue that showed up at least on NetBSD was fixed
** Build problems on Solaris and IRIX fixed

* Implementation improvements

** The reader is now faster, which reduces startup time
** Procedures returned by `record-accessor' and `record-modifier' are faster
2008-01-03 13:30:25 +00:00
gdt
80f087ecfa Fix failure to build under FreeBSD 6.2 due to lack of C99-required
functions clog and cexp (but presence of complex.h), reported in
pkg/36555.  The patch in the PR is from gentoo and has already been
applied upstream along guile's 1.8 branch.
2007-12-28 01:00:10 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
gdt
30d0b369b9 Update to 1.8.2. Several patches are now applied upstream. Several
others required significant adjustment due to upstream changes.
Tested on NetBSD-current/i386.

Changes in 1.8.2 (since 1.8.1):

* New procedures (see the manual for details)

** set-program-arguments
** make-vtable

* Incompatible changes

** The body of a top-level `define' no longer sees the binding being created

In a top-level `define', the binding being created is no longer visible
from the `define' body.  This breaks code like
"(define foo (begin (set! foo 1) (+ foo 1)))", where `foo' is now
unbound in the body.  However, such code was not R5RS-compliant anyway,
per Section 5.2.1.

* Bugs fixed

** Fractions were not `equal?' if stored in unreduced form.
(A subtle problem, since printing a value reduced it, making it work.)
** srfi-60 `copy-bit' failed on 64-bit systems
** "guile --use-srfi" option at the REPL can replace core functions
(Programs run with that option were ok, but in the interactive REPL
the core bindings got priority, preventing SRFI replacements or
extensions.)
** `regexp-exec' doesn't abort() on #\nul in the input or bad flags arg
** `kill' on mingw throws an error for a PID other than oneself
** Procedure names are attached to procedure-with-setters
** Array read syntax works with negative lower bound
** `array-in-bounds?' fix if an array has different lower bounds on each index
** `*' returns exact 0 for "(* inexact 0)"
This follows what it always did for "(* 0 inexact)".
** SRFI-19: Value returned by `(current-time time-process)' was incorrect
** SRFI-19: `date->julian-day' did not account for timezone offset
** `ttyname' no longer crashes when passed a non-tty argument
** `inet-ntop' no longer crashes on SPARC when passed an `AF_INET' address
** Small memory leaks have been fixed in `make-fluid' and `add-history'
** GOOPS: Fixed a bug in `method-more-specific?'
** Build problems on Solaris fixed
** Build problems on HP-UX IA64 fixed
** Build problems on MinGW fixed
2007-07-20 00:09:21 +00:00
joerg
7fbf85736a guile's configure script is buggy as it assumes that cexp and clog
are present if the complex.h header exists. csqrt on the contrary
is actively checked. For now, disable complex double handling on
DragonFly to work around this.
2007-06-12 19:49:28 +00:00
dmcmahill
59f55f274d Update to guile-1.8.1. Note that the 1.6.x series of guile is still available
in lang/guile16.  Many, many changes since the last 1.6.x release including
bug fixes, build fixes, and many feature additions.  See the NEWS file for the
full (> 1,000 lines) list of changes.
2007-06-12 03:02:33 +00:00
joerg
75f2a02fc0 Include sys/types.h before sys/socket.h to fix socklen_t detection
on DragonFly.
2006-07-18 18:02:09 +00:00
wiz
e2e4bc74d3 Not needed in 1.6.8. 2006-07-13 10:51:19 +00:00
wiz
462fb22844 Update to 1.6.8:
Changes since Guile 1.6.7 (changes in 1.6.8):

* Changes to the distribution

** A number of GCC 4.0 related build problems have been fixed.

A number of changes have been made to accomodate GCC 4.0.

* Changes to the stand-alone interpreter

** `readline-set!' now works.

* Changes to Scheme functions and syntax

** Guile now allows multiple line comments to end without a trailing newline.

Previously Guile would throw an exception if a multiple line comment
ended without a trailing newline.  Now "!#" will end a multiple line
comment regardless of what follows.

** Guile supports newer versions of SLIB more cleanly.

Guile now relies on the upstream SLIB code (guile.init) to handle the
load process.  Previously Guile relied on its own copy of that code,
which was incorrect, at least for more recent versions of SLIB.

If you still need to use Guile with an older version of SLIB, and the
new approach doesn't work for you, please add the following definition
to your code before (ice-9 slib) is loaded for the first time:

  (define *guile-use-old-ice-9-slib* #t)

This will cause Guile to revert to the old load behavior.

** The r5rs numerator and denominator functions have been added.

These are now available in the default environment.

** `/' fix to <any>/0-<y>i complex division case, avoiding divide-by-zero

** `array-map!' fix, accepts just a destination array again

** `cons*', `list' fix to not clobber source list when called via `apply'

** `string-index', `split-string' and other string func fixes for 8-bit chars

** `number->string' fix for parsing of polar complex number with invalid angle

** (ice-9 poe) bug fixes

** srfi-1 `lset-adjoin' fix to actually use given equality procedure

** srfi-1 `lset-union' fixes to operate in the way specified by the SRFI

Note in particular that if the first list is empty then the first
non-empty is the starting point, and duplicates are not cast out of
that.  So

	(lset-union = '() '(1 1 1)) => '(1 1 1)

where previously it was '(1).  This, though perhaps unhelpful, comes
from the SRFI spec (that if list A is empty then the result is B).

** srfi-1 `lset=', `list=' fix to equality procedure argument order

** srfi-17 avoid deprecation warnings about reexport

** srfi-19 new 2005 leap second

** srfi-39 new parameter versions of `current-output-port' etc, per SRFI

** make-stack can now correctly construct a stack from a continuation.

** Output string port speed problems have been improved

Output string port (open-output-string, etc) writing was very slow at
about 50 to 100 kbytes or above.  This affected various things, in
particular regexp-substitute/global on a large string, and stack
backtraces with a large object.

** Bug fix: printing values no longer protects them from GC

A bug in the printing code used to mean that printing a value (using
`display' or `write') would incorrectly protect that value from GC for
a while afterwards.  This has now been fixed.

* Changes to the C interface

Ok gdt@
2006-07-12 20:11:39 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00