Gentoo Archives: gentoo-java

From: Paul Varner <fuzzyray@g.o>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] sun-jdk-1.4.2 dynamic linking consistency problem
Date: Thu, 05 Apr 2007 17:55:24
Message-Id: 1175795665.13937.10.camel@txslpc1d36.wkst.vzwnet.com
In Reply to: Re: [gentoo-java] sun-jdk-1.4.2 dynamic linking consistency problem by Roy Wright
1 On Thu, 2007-04-05 at 11:31 -0500, Roy Wright wrote:
2 > Roy Wright wrote:
3 > After weeks of ignoring this, I finally posted the question, then the very
4 > next thread I read on gentoo-users answers it! Binary package, use
5 > SEARCH_DIRS_MASK in /etc/revdep-rebuild/99revdep-rebuild.
6
7 Actually, quoting from the revdep-rebuild manpage:
8
9 revdep-rebuild no longer uses hardcoded paths. To change the default behavior the following variables can be
10 changed by the user.
11
12 LD_LIBRARY_MASK - Mask of specially evaluated libraries
13
14 SEARCH_DIRS - List of directories to search for executables and libraries
15
16 SEARCH_DIRS_MASK - List of directories to not search
17
18 These variables can be prepended to either by setting the variable in your environment prior to execution, by
19 placing an entry in /etc/make.conf, or by placing a file in /etc/revdep-rebuild containing the appropriate
20 variables.
21
22 The variables are read and set in the following order:
23
24 environment settings - one time changes by user
25 /etc/make.conf - persistant changes by user
26 /etc/revdep-rebuild/* - persistant changes by ebuild authors
27
28 While a user can edit and modify the files in the /etc/revdep-rebuild directory, please be aware that the
29 /etc/revdep-rebuild directory is not under configuration protection and files can be removed and/or overwritten
30 by an ebuild. To change this add /etc/revdep-rebuild to the CONFIG_PROTECT variable in /etc/make.conf.
31
32 End of Quote
33
34 Bottom line: don't edit /etc/revdep-rebuild/99revdep-rebuild as it will
35 be overwritten the next time you upgrade gentoolkit. Instead add the
36 SEARCH_DIRS_MASK entry to /etc/make.conf or create your own file
37 in /etc/revdep-rebuild.
38
39 > Would it be possible to have the ebuild automatically add binary packages
40 > to SEARCH_DIRS_MASK?
41
42 Yes, all the ebuild needs to do is place a file with the correct entries
43 into /etc/revdep-rebuild.
44
45 Regards,
46 Paul
47 --
48 gentoo-java@g.o mailing list