pkgsrc/lang/ocaml
is 42beebd44a 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.)
2013-03-14 14:29:49 +00:00
..
files
patches ocamlmklib adds absolute directories (that is, such starting with 2013-03-14 14:29:49 +00:00
buildlink3.mk Update to version 4.00.1. Renamed patches from two-letter system and added 2012-10-08 15:05:32 +00:00
DESCR
distinfo ocamlmklib adds absolute directories (that is, such starting with 2013-03-14 14:29:49 +00:00
hacks.mk Pass CFLAGS and LDFLAGS to the compiler (fixes problems e.g. on Mac OS X); pkglint clean-up 2011-03-29 13:45:01 +00:00
Makefile ocamlmklib adds absolute directories (that is, such starting with 2013-03-14 14:29:49 +00:00
Makefile.common Removed the bytecomp_bytelink.ml patch, as suggested by degroote@ - it 2013-02-18 16:29:28 +00:00
PLIST Update to version 4.00.1. Renamed patches from two-letter system and added 2012-10-08 15:05:32 +00:00
PLIST.natdynlink Update to version 4.00.1. Renamed patches from two-letter system and added 2012-10-08 15:05:32 +00:00
PLIST.opt Update to version 4.00.1. Renamed patches from two-letter system and added 2012-10-08 15:05:32 +00:00
PLIST.prof Update lang/ocaml to 3.11.1 [PR pkg/41695] 2009-09-07 21:48:13 +00:00
PLIST.stub Update to version 4.00.1. Renamed patches from two-letter system and added 2012-10-08 15:05:32 +00:00