Commit graph

105 commits

Author SHA1 Message Date
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
c6dc5aec0e Fixed pkglint warnings. 2006-05-20 09:10:51 +00:00
joerg
a685ea6200 Add back a patch fragment which got lost during the update.
Bump revision, since the thread support was not built on DragonFly.
2006-04-30 17:03:19 +00:00
hiramatsu
0ba7d34a9d Update lang/ocaml to 3.09.2.
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-25 04:58:32 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
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-06 06:21:32 +00:00
jlam
7a5f8df6e2 Reorder PLIST components so that directories are removed in the correct
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-04 14:33:27 +00:00
jlam
12b8b2a420 Ensure that the main PLIST component file is part of PLIST_SRC for
platforms other than i386, powerpc, and sparc.  Problem noted and fix
suggested by Olaf Seibert on pkgsrc-users@.  Bump PKGREVISION for PLIST
changes.
2006-04-04 14:22:48 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
1ba91f86d9 Added support for dynamic loading on NetBSD. Bumped PKGREVISION.
Fixed almost all pkglint -Wall warnings.
2006-02-02 20:47:26 +00:00
tonio
157eae4b8e Do not use the wrapper for ocaml (the wrapper is incorrect then, it tries to 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-27 19:03:16 +00:00
adam
50f21fdec0 Changes 3.09.1:
* 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')
2006-01-16 09:41:48 +00:00
joerg
eaa963de93 DragonFly needs the stublib PLIST fragment as well. Bump revision.
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-22 14:37:17 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
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-12-05 20:49:47 +00:00
joerg
3a640b1f0c - add DragonFly cases for configure
- assume !WIN32 ~= ANSI C for the purpose of errno.h
- ocamldoc is not an ELF binary, use BSD_INSTALL_SCRIPT like for ocamlc
2005-11-29 07:02:47 +00:00
tonio
15fbd5e2bd Support for profiling on sparc machine is not available only for netbsd, but
supported on SunOS (the failure of bulk build comes from somewhere else).
2005-10-25 08:13:23 +00:00
tonio
d26375efd9 profiling support is not available for sparc, so do not include PLIST.prof on
sparc (showed by bulk build, and documented at
http://caml.inria.fr/pub/docs/manual-ocaml/manual025.html)
2005-10-25 08:03:17 +00:00
tonio
89e6a33da1 profiling support is not available for solaris/i386 2005-10-20 19:32:29 +00:00
tonio
a29fc99cb1 Updating lang/ocaml to 3.08.4 (PR 31128)
This is mainly a bug fix release, fixing code generation under amd64 and some
OO compilation problems, among many others

approved by adam@
2005-09-04 13:57:50 +00:00
jlam
2a6b4461d4 Move some files that were mis-listed in PLIST into PLIST.opt. Those
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-20 07:41:49 +00:00
minskim
7fa28f3c06 Let x11/labltk use bdb if native ndbm is not available. 2005-06-14 21:00:41 +00:00
minskim
ab8bad3336 Make ocaml build with pkgsrc bdb. 2005-06-07 00:59:48 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
minskim
3945866014 Do not strip commands on Linux, where some of them are not regular binaries. 2005-05-21 22:35:46 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
adam
4b64a429f0 New maintainer, new distfile 2005-03-26 16:20:34 +00:00
adam
28f4ad71a7 Changes 3.08.3:
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-24 11:32:50 +00:00
tv
271889de03 With mk/ fix for PR pkg/29031, the _STRIPFLAG_* hack is no longer needed. 2005-03-18 18:17:07 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
adrianp
faf56eaad9 - Fix for patch-ah on Darwin, problem spotted by Antoine Reilles in
private email.
2005-02-06 15:25:35 +00:00
wiz
2cc8b0b8a6 Edit down patch-ah so it does not include an RCS Id. 2005-02-05 00:49:34 +00:00
adrianp
1bb208ba9c fix broken patch from last update - ride the recent update 2005-02-05 00:26:18 +00:00
adrianp
a8d392cc46 fix broken patch from last update - ride the recent update 2005-02-05 00:04:20 +00:00
adrianp
b9d22b116c remove obsolete patches for recent update 2005-02-04 23:25:50 +00:00
adrianp
da24824e10 - Update from 3.06 to 3.08.2
- Lots of changes/bugfixes - see Changes for all the details
2005-02-04 21:35:51 +00:00
tv
20a8ec28f1 Recognize Interix as a valid platform. 2005-01-24 21:18:16 +00:00
tv
f0b07e06e5 Override config.guess and config.sub manually, since GNU_CONFIGURE is not
correct here (and thus automatic overriding doesn't work).
2005-01-19 17:43:59 +00:00
jmmv
ef29c0de9c Looks like the rpath problem is a bit more serious than I initially thought
(it currently affects packages using X11, but I guess it will also cause
problems when using pkgviews, for example).

So, instead of fixing it on a package basis, create some wrappers in the
buildlink directory that parse CFLAGS and LDFLAGS contents and convert them
to ocaml flags (basically, prepend -ccopt to each of them).
2004-12-24 18:49:09 +00:00
jmmv
feea677000 Do not depend on Tk nor X11. Two new packages will be added to provide
the missing bits, namely labltk and ocaml-graphics, respectively.  To
simplify this, add a Makefile.common.  Bump PKGREVISION to 8.

Per discussion with wiz@ a while ago.
2004-12-24 17:16:04 +00:00
uebayasi
f518154a16 This is configured with -with-thread. Include pthread.buildlink3.mk
here explicitly.
2004-12-10 00:48:40 +00:00
jmmv
1da918991d Print a comment for the removal of the lib/ocaml directory in packages
depending on this one.
2004-12-04 20:31:29 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
dmcmahill
44c3c8d998 move a few files from PLIST to PLIST.opt 2004-11-27 01:34:09 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
wiz
6ef1244cbb Unused. 2004-07-01 13:45:08 +00:00
danw
5f9bd44f70 Two Darwin fixes:
- split out the profiled libraries in the PLIST, because they
	  don't get built on Darwin.
	- set INSTALL_UNSTRIPPED on Darwin for both ocaml itself and
	  anything that directly depends on it, because the ocaml compiler
	  generates binaries that don't strip properly.
2004-04-24 14:45:15 +00:00
tron
79f90101fa Include buildlink code for "tk" package because this package depends
on the "tk" package.
2004-04-24 08:06:10 +00:00
danw
dcba77c780 de-fuzz 2004-04-23 03:06:02 +00:00
jschauma
8d232afe14 Drop maintainership. (I kind of semi-voluntarily inherited this package
from groo, but really can't maintain it responsibly.)
2004-04-22 12:44:30 +00:00
tron
c6c65c01f0 Fix patch problem caused by embedded CVS Id. 2004-04-22 09:27:49 +00:00