Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix] missing with_bindir()
Date: Wed, 18 Apr 2007 09:39:32
Message-Id: 20070418093918.GB963@gentoo.org
In Reply to: [gentoo-alt] [prefix] missing with_bindir() by Michael Haubenwallner
On 18-04-2007 11:24:04 +0200, Michael Haubenwallner wrote:
> Hi, > > some ebuilds, which originally passed "--bindir=/bin" to econf, now do: > econf $(with_bindir) ... > or even > econf $(with_bindir /usr/bin) ... > > Where should this with_bindir() be defined ? > I suggest in portage's ebuild.sh, but it is not (yet) there, even not in > svn...
I killed it, because they are non-standard functions. They were not very clear, and I think they don't contribute to backwards compatibility.
> Currently I cannot merge sys-apps/grep-2.5.1a-r1, because src_install() > wants to create symlinks "$ED/bin/egrep -> grep" (same for fgrep), which > does not work because there is no $ED/bin, and grep is installed into > $ED/usr/bin. > > The ebuilds using with_bindir() are: > > $ grep with_bindir */*/*.ebuild > app-arch/cpio/cpio-2.6-r5.ebuild: $(with_bindir) \ > app-arch/cpio/cpio-2.7-r1.ebuild: $(with_bindir) \ > app-arch/tar/tar-1.16-r2.ebuild: $(with_bindir) \ > app-arch/tar/tar-1.16.1.ebuild: $(with_bindir) \ > sys-apps/grep/grep-2.5.1-r9.ebuild: $(with_bindir) \ > sys-apps/grep/grep-2.5.1a-r1.ebuild: $(with_bindir) \ > sys-devel/autoconf/autoconf-2.13.ebuild: $(with_bindir /usr/bin) \
All successfully eliminated. Thanks for the heads up! -- Fabian Groffen Gentoo on a different level -- gentoo-alt@g.o mailing list