--- - branch: MAIN date: Thu Mar 14 14:29:49 UTC 2013 files: - new: '1.83' old: '1.82' path: pkgsrc/lang/ocaml/Makefile pathrev: pkgsrc/lang/ocaml/Makefile@1.83 type: modified - new: '1.70' old: '1.69' path: pkgsrc/lang/ocaml/distinfo pathrev: pkgsrc/lang/ocaml/distinfo@1.70 type: modified - new: '1.1' old: '0' path: pkgsrc/lang/ocaml/patches/patch-tools_ocamlmklib pathrev: pkgsrc/lang/ocaml/patches/patch-tools_ocamlmklib@1.1 type: added id: 20130314T142949Z.c5c1c510009230358662073f784fc308670763f7 log: | ocamlmklib adds absolute directories (that is, such starting with '/') given to -L to run-time library search path passed to the lower linker using -Wl,-rpath= This is a problem, because even if we add the right directory with -Wl,-rpath= or variants thereof, the wrong path still is in the RPATH on the resulting binary. This might lead to the wrong library being found at run-time. To build clean packages when using ocamlmklib, '-elfmode' will switch this behaviour off; when using '-elfmode', all following -L parameters won't augment the RPATH, and it has to be updated seperately with -dllpath, -Wl,-rpath= etc. (This is a local pkgsrc stopgap addition, needed to proceed with fixes to xentools41. The issue has been raised with upstream; hopefully this patch can be reverted with a future ocaml package version.) module: pkgsrc subject: 'CVS commit: pkgsrc/lang/ocaml' unixtime: '1363271389' user: is