Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
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...
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) \
As local workaround I've added this function to
usr/lib/portage/bin/ebuild.sh:
with_bindir() {
echo "--bindir=${EPREFIX}${1:-/bin}"
}
/haubi/
--
Salomon Automation GmbH - Friesachstraße 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz
--
gentoo-alt@g.o mailing list
|
|