Gentoo Archives: gentoo-dev

From: Ben Lutgens <lamer@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] how do I : make portage "fix" symlinks during make install?
Date: Wed, 29 May 2002 13:14:39
Message-Id: 20020529181537.GD3708@rtfm.sistina.com
In Reply to: [gentoo-dev] how do I : make portage "fix" symlinks during make install? by Spider
1 On Wed, May 29, 2002 at 04:33:55PM +0200, Spider wrote:
2 >Hello,
3 > I'm trying to solve this bug :
4 > http://bugs.gentoo.org/show_bug.cgi?id=2094
5 > and looking at the src_install, it does make DESTDIR... install
6 >looking inside scrollkeeper Makefiles show :
7 >
8 >
9 >install-data-local:
10 > $(LN_S) -f -n $(DESTDIR)$(scrollkeeper_data_link_dir)
11 >$(DESTDIR)$(scrollkeeper_data_dir)
12
13 Why not comment that out with some sed black magic and do a
14 for i in /path/to/files/* ; do
15 dosym $i /path/to/symlink/to
16 done
17
18 >
19 >
20 >Now...
21 > how would I go around making portage change the destination links as
22 >well as the issuing links here?
23 >
24 >
25 >
26 >//Spider
27 >--
28 >begin .signature
29 >This is a .signature virus! Please copy me into your .signature!
30 >See Microsoft KB Article Q265230 for more information.
31 >end
32
33
34
35 --
36 Ben Lutgens | http://people.sistina.com/~blutgens/
37 System Administrator | http://www.sistina.com/
38 Sistina Software Inc. |
39
40 "I got a wife and kids too but you don't see me out here stealing Imperial
41 Droids now do ya?"

Replies