diff options
author | grant <grant> | 2003-04-27 09:49:05 +0000 |
---|---|---|
committer | grant <grant> | 2003-04-27 09:49:05 +0000 |
commit | d08ce2e9a16ca6e8a97ba92bacdf2817cf86a20f (patch) | |
tree | 86443112d531170ba4cdca8deeaf15f6267d6c06 /www/mozilla/patches/patch-bo | |
parent | 7078c10b70492d1d448b7da5168fd79e863c88f3 (diff) | |
download | pkgsrc-d08ce2e9a16ca6e8a97ba92bacdf2817cf86a20f.tar.gz |
pass -Wl,-R... when linking shared libraries on FreeBSD. The runtime
linker seemingly does not pass the rpath down from binaries to shared
libs, resulting in libs not being able to find other libs they require.
patch from taya@, tested on FreeBSD 5.0.
Diffstat (limited to 'www/mozilla/patches/patch-bo')
-rw-r--r-- | www/mozilla/patches/patch-bo | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/www/mozilla/patches/patch-bo b/www/mozilla/patches/patch-bo index b8a5ce104ac..e8d6d6259c2 100644 --- a/www/mozilla/patches/patch-bo +++ b/www/mozilla/patches/patch-bo @@ -1,9 +1,18 @@ -$NetBSD: patch-bo,v 1.2 2003/03/17 16:07:35 taya Exp $ +$NetBSD: patch-bo,v 1.3 2003/04/27 09:49:06 grant Exp $ -diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in ---- ../Orig/mozilla/nsprpub/configure.in 2003-01-21 05:49:52.000000000 +0900 -+++ ./nsprpub/configure.in 2003-03-14 16:59:14.000000000 +0900 -@@ -2144,7 +2144,14 @@ +--- nsprpub/configure.in.orig 20 Jan 2003 20:49:52 -0000 ++++ nsprpub/configure.in 15 Apr 2003 14:51:35 -0000 +@@ -929,6 +929,9 @@ + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' + MDCPUCFG_H=_freebsd.cfg + PR_MD_CSRCS=freebsd.c ++ if test "$LIBRUNPATH"; then ++ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" ++ fi + ;; + + *-hpux*) +@@ -2144,7 +2147,14 @@ _PTHREAD_LDFLAGS="-lc_r" fi ;; |