summaryrefslogtreecommitdiff
path: root/lang/ocaml
AgeCommit message (Collapse)AuthorFilesLines
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-15/+6
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-01-22Add a patch so that this package builds for our powerpc portshe3-2/+42
as well. In this case, we fall into the SYS_elf branch together with Linux, but we need a few other specifics to access registers in the sigcontext.
2008-12-22Fix PLIST of ocaml-graphics for architectures not using the optimiser.joerg2-2/+7
Add amd64 to that list. Bump revision of ocaml-graphics. Make ocaml itself and ocaml-graphics destdir safe.
2008-04-25Update to 3.10.2:wiz2-6/+6
Objective Caml 3.10.2: ---------------------- Bug fixes: - PR#1217 (partial) Typo in ocamldep man page - PR#3952 (partial) ocamlopt: allocation problems on ARM - PR#4339 (continued) ocamlopt: problems on HPPA - PR#4455 str.mli not installed under Windows - PR#4473 crash when accessing float array with polymorphic method - PR#4480 runtime would not compile without gcc extensions - PR#4481 wrong typing of exceptions with object arguments - PR#4490 typo in error message - Random crash on 32-bit when major_heap_increment >= 2^22 - Big performance bug in Weak hashtables - Small bugs in the make-package-macosx script - Bug in typing of polymorphic variants (reported on caml-list)
2008-02-11include opt and stubs on intel darwin leoparddbj1-4/+6
2008-01-29Added x86_64-*-solaris to the list of supported platforms. This fixesrillig2-10/+18
PR 37890.
2008-01-23Changes 3.10.1:adam8-34/+44
* Bug fixes * New features: - made configure script work on PlayStation 3 - ARM port: brought up-to-date for Debian 4.0 (Etch) - many other small changes and bugfixes in camlp4, ocamlbuild, labltk, emacs files
2007-12-21Include stub libraries on Linux as well. From PR 37584.joerg1-2/+3
2007-11-03Added MAKE_JOBS_SAFE as suggested in PR 37234.rillig1-1/+2
2007-10-04Fix for PR#37051. Please test.adam2-7/+10
2007-09-26Set SHELL explicitly on the install make invocation when on solaris.dmcmahill1-1/+11
By using /bin/ksh (${SH}), we get the desired value of $CWD in on of the scripts called by the programs install procedure. Fixes installation under solaris, other platforms unaffected.
2007-09-14Changes 3.10.0:adam27-493/+269
- New language features - New tools - Faster type-checking of functor applications. - Referencing an interface compiled with -rectypes from a module not compiled with -rectypes is now an error. - Revised the "fragile matching" warning. - Print a stack backtrace on an uncaught exception. - Stack overflow detection on MS Windows 32 bits. - Stack overflow detection on MacOS X PPC and Intel. - Intel/AMD 64 bits: generate position-independent code by default. - Fixed bug involving -for-pack and missing .cmx files. - Fixed bug causing duplication of literals. - C/Caml interface functions take "char const *" arguments instead of "char *" when appropriate. - Faster string comparisons (fast case if strings are ==). - Other
2007-01-06In the configure script match sparc-*-solaris2 instead of sparc-*-solaris2.dmcmahill2-5/+12
since the former is what pkgsrc sets MACHINE_GNU_PLATFORM to. This fixes builds on the aformentioned systems.
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-01Stub libraries are built on Darwin/powerpc only, not on Darwin/i386.minskim1-2/+2
2006-10-22Fixed PKGMANDIR.rillig1-1/+2
2006-10-03Changes 3.09.3:adam10-64/+96
Bug fixes: - ocamldoc: -using modtype constraint to filter module elements displayed in doc - ocamldoc: error in merging of top dependencies of modules - ocamldoc: -dot-colors has no effect - ocamdloc: missing crossref in text from intro files - compilers: segfault with recursive modules - compilers: infinite loop when compiling objects - compilers: bad error message when signature mismatch - compilers: infinite loop with -rectypes - compilers: contravariance bug in private rows - compilers: unsafe cast with polymorphic exception - native compiler: bad assembly code generated for AMD64 - native compiler: stack alignment problems on MacOSX/i386 - stdlib: crash in marshalling - stdlib: crash when closing a channel twice - stdlib: memory leak in Sys.readdir - C interface: better definition of CAMLreturn - otherlibs/unix: crash in gethostbyname - tools: subtle problem with unset in makefile - camlp4: install pa_o_fast.o - camlp4: install more modules New features: - ocamldoc: name resolution in cross-referencing {!name}: if name is not found, then it is searched in the parent module/class, and in the parent of the parent, and so on until it is found. - ocamldoc: new option -short-functors to use a short form to display functors in html generator - ocamlprof: added "-version" option
2006-10-02fix PLIST for solarisdmcmahill1-2/+2
2006-08-26Include stublibs on FreeBSD as well. Bump revision.joerg1-3/+3
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-05-20Fixed pkglint warnings.rillig2-13/+13
2006-04-30Add back a patch fragment which got lost during the update.joerg3-12/+24
Bump revision, since the thread support was not built on DragonFly.
2006-04-25Update lang/ocaml to 3.09.2.hiramatsu4-37/+25
Changes from 3.09.1: ---- Bug fixes: - Makefile: problem with "make world.opt" - compilers: problem compiling several modules with one command line - compilers,ocamldoc: error message that Emacs cannot parse - compilers: crash when printing type error - compilers: -dtypes wrong for monomorphic type variables - compilers: wrong warning on optional arguments - compilers: crash when wrong use of type constructor in let rec - compilers: better wording of "statement never returns" warning - runtime: inefficiency of signal handling - runtime: crashes with I/O in multithread programs - camlp4: empty file name in error messages - camlp4: stack overflow - otherlibs/labltk: ocamlbrowser ignores its command line options - otherlibs/unix: Unix.times wrong under Mac OS X - otherlibs/unix: wrong doc for execvp and execvpe - otherlibs/win32unix: random crash in Unix.stat - stdlib: update_mod not found under Windows - stdlib: Filename.dirname/basename wrong on Win32 - stdlib: incomplete documentation of Pervasives.abs - stdlib: Printf bugs - tools/checkstack.c missing include - yacc: crash when given argument "-" New features: - ported to MacOS X on Intel - configure: added support for GNU Hurd
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-04-04Reorder PLIST components so that directories are removed in the correctjlam5-16/+22
order. Remove "@unexec rmdir" lines made redundant by the reordering. Also, use a more succinct way to match ${OPSYS} + ${MACHINE_ARCH} by just checking ${MACHINE_PLATFORM}.
2006-04-04Ensure that the main PLIST component file is part of PLIST_SRC forjlam1-3/+3
platforms other than i386, powerpc, and sparc. Problem noted and fix suggested by Olaf Seibert on pkgsrc-users@. Bump PKGREVISION for PLIST changes.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg2-3/+4
2006-02-02Added support for dynamic loading on NetBSD. Bumped PKGREVISION.rillig5-27/+33
Fixed almost all pkglint -Wall warnings.
2006-01-27Do not use the wrapper for ocaml (the wrapper is incorrect then, it tries to ↵tonio1-2/+7
pass -cclib as argument, but this is not an argument for ocaml) Instead, create a symlink for ocaml (this was causing problems in coq configure, which runs ocaml to detect its version)
2006-01-16Changes 3.09.1:adam19-90/+95
* Bug fixes * New features: - otherlibs/labltk: browser uses menu bars instead of menu buttons Changes 3.09.0: Language features: - Introduction of private row types, for abstracting the row in object and variant types. Type checking: - Polymorphic variants with at most one constructor [< `A of t] are no longer systematically promoted to the exact type [`A of t]. This was more confusing than useful, and created problems with private row types. Native-code compiler (ocamlopt): * Revised implementation of the -pack option (packing of several compilation units into one). The .cmx files that are to be packed with "ocamlopt -pack -o P.cmx" must be compiled with "ocamlopt -for-pack P". In exchange for this additional constraint, ocamlopt -pack is now available on all platforms (no need for binutils). * Fixed wrong evaluation order for arguments to certain inlined functions. * Other (see 'Changes')
2005-12-22DragonFly needs the stublib PLIST fragment as well. Bump revision.joerg3-6/+7
Fix another place where a ocaml script is installed with BSD_INSTALL_PROGRAM, which doesn't work on DragonFly, since strip bails out.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig2-4/+4
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-11-29- add DragonFly cases for configurejoerg4-13/+51
- assume !WIN32 ~= ANSI C for the purpose of errno.h - ocamldoc is not an ELF binary, use BSD_INSTALL_SCRIPT like for ocamlc
2005-10-25Support for profiling on sparc machine is not available only for netbsd, buttonio1-2/+2
supported on SunOS (the failure of bulk build comes from somewhere else).
2005-10-25profiling support is not available for sparc, so do not include PLIST.prof ontonio1-2/+3
sparc (showed by bulk build, and documented at http://caml.inria.fr/pub/docs/manual-ocaml/manual025.html)
2005-10-20profiling support is not available for solaris/i386tonio1-2/+3
2005-09-04Updating lang/ocaml to 3.08.4 (PR 31128)tonio3-12/+12
This is mainly a bug fix release, fixing code generation under amd64 and some OO compilation problems, among many others approved by adam@
2005-06-20Move some files that were mis-listed in PLIST into PLIST.opt. Thosejlam2-4/+4
files are only built and installed if "opt" is passed as a build target. This fixes installation on platforms on which the native-code compiler is not supported, e.g. NetBSD/amd64.
2005-06-14Let x11/labltk use bdb if native ndbm is not available.minskim2-7/+7
2005-06-07Make ocaml build with pkgsrc bdb.minskim4-5/+71
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-05-21Do not strip commands on Linux, where some of them are not regular binaries.minskim1-2/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-26New maintainer, new distfileadam2-6/+6
2005-03-24Changes 3.08.3:adam18-92/+193
New features: - support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320) - ignore unknown warning options for forward and backward compatibility - runtime: export caml_compare_unordered (PR#3479) - camlp4: install argl.* files (PR#3439) - ocamldoc: add -man-section option - labltk: add the "solid" relief option (PR#3343) - compiler: ocamlc -i now prints variance annotations Bug fixes: - typing: fix unsoundness in type declaration variance inference. Type parameters which are constrained must now have an explicit variant annotation, otherwise they are invariant. This is not backward compatible, so this might break code which either uses subtyping or uses the relaxed value restriction (i.e. was not typable before 3.07) - typing: erroneous partial match warning for polymorphic variants (PR#3424) - runtime: handle the case of an empty command line (PR#3409, PR#3444) - stdlib: make Sys.executable_name an absolute path in native code (PR#3303) - runtime: fix memory leak in finalise.c - runtime: auto-trigger compaction even if gc is called manually (PR#3392) - stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406) - camlp4: correct parsing of the $ identifier (PR#3310, PR#3469) - windows (MS tools): use link /lib instead of lib (PR#3333) - windows (MS tools): change default install destination - autoconf: better checking of SSE2 instructions (PR#3329, PR#3330) - graphics: make close_graph close the X display as well as the window (PR#3312) - num: fix big_int_of_string (empty string) (PR#3483) - num: fix big bug on 64-bit architecture (PR#3299) - str: better documentation of string_match and string_partial_match (PR#3395) - unix: fix file descriptor leak in Unix.accept (PR#3423) - unix: miscellaneous clean-ups - unix: fix documentation of Unix.tm (PR#3341) - graphics: fix problem when allocating lots of images under Windows (PR#3433) - compiler: fix error message with -pack when .cmi is missing (PR#3028) - cygwin: fix problem with compilation of camlheader (PR#3485) - stdlib: Filename.basename doesn't return an empty string any more (PR#3451) - stdlib: better documentation of Open_excl flag (PR#3450) - ocamlcp: accept -thread option (PR#3511) - ocamldep: handle spaces in file names (PR#3370) - compiler: remove spurious warning in pattern-matching on variants (PR#3424) - windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)
2005-03-18With mk/ fix for PR pkg/29031, the _STRIPFLAG_* hack is no longer needed.tv1-5/+1
2005-02-24Add RMD160 digestsagc1-1/+2
2005-02-06- Fix for patch-ah on Darwin, problem spotted by Antoine Reilles inadrianp2-43/+13
private email.
2005-02-05Edit down patch-ah so it does not include an RCS Id.wiz2-6/+4