Subject: CVS commit: pkgsrc/lang/ocaml
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 12/24/2004 18:49:09
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Fri Dec 24 18:49:09 UTC 2004

Modified Files:
	pkgsrc/lang/ocaml: buildlink3.mk
Added Files:
	pkgsrc/lang/ocaml/files: wrapper.sh

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/lang/ocaml/buildlink3.mk
cvs rdiff -r0 -r1.1 pkgsrc/lang/ocaml/files/wrapper.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.