Gentoo Logo
Gentoo Spaceship

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
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: [prefix] missing with_bindir()
Date: Wed, 18 Apr 2007 11:24:04 +0200

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, but it is not (yet) there, even not in

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

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

with_bindir() {
    echo "--bindir=${EPREFIX}${1:-/bin}"


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

Re: [prefix] missing with_bindir()
-- Fabian Groffen
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[prefix] a few missing things for smooth x86-linux bootstrap
Next by thread:
Re: [prefix] missing with_bindir()
Previous by date:
Re: [prefix] a few missing things for smoothx86-linux bootstrap
Next by date:
[prefix] ca-certificates depends on deb2targz for non-aix

Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.