1 |
On 18-04-2007 11:24:04 +0200, Michael Haubenwallner wrote: |
2 |
> Hi, |
3 |
> |
4 |
> some ebuilds, which originally passed "--bindir=/bin" to econf, now do: |
5 |
> econf $(with_bindir) ... |
6 |
> or even |
7 |
> econf $(with_bindir /usr/bin) ... |
8 |
> |
9 |
> Where should this with_bindir() be defined ? |
10 |
> I suggest in portage's ebuild.sh, but it is not (yet) there, even not in |
11 |
> svn... |
12 |
|
13 |
I killed it, because they are non-standard functions. They were not |
14 |
very clear, and I think they don't contribute to backwards |
15 |
compatibility. |
16 |
|
17 |
> Currently I cannot merge sys-apps/grep-2.5.1a-r1, because src_install() |
18 |
> wants to create symlinks "$ED/bin/egrep -> grep" (same for fgrep), which |
19 |
> does not work because there is no $ED/bin, and grep is installed into |
20 |
> $ED/usr/bin. |
21 |
> |
22 |
> The ebuilds using with_bindir() are: |
23 |
> |
24 |
> $ grep with_bindir */*/*.ebuild |
25 |
> app-arch/cpio/cpio-2.6-r5.ebuild: $(with_bindir) \ |
26 |
> app-arch/cpio/cpio-2.7-r1.ebuild: $(with_bindir) \ |
27 |
> app-arch/tar/tar-1.16-r2.ebuild: $(with_bindir) \ |
28 |
> app-arch/tar/tar-1.16.1.ebuild: $(with_bindir) \ |
29 |
> sys-apps/grep/grep-2.5.1-r9.ebuild: $(with_bindir) \ |
30 |
> sys-apps/grep/grep-2.5.1a-r1.ebuild: $(with_bindir) \ |
31 |
> sys-devel/autoconf/autoconf-2.13.ebuild: $(with_bindir /usr/bin) \ |
32 |
|
33 |
All successfully eliminated. Thanks for the heads up! |
34 |
|
35 |
-- |
36 |
Fabian Groffen |
37 |
Gentoo on a different level |
38 |
|
39 |
-- |
40 |
gentoo-alt@g.o mailing list |