public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett -Mr. Bones.-" <msterret@coat.com>
To: Travis Tilley <lv@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, amd64@gentoo.org
Subject: Re: [gentoo-dev] hardcoding lib in ebuilds, and using econf without einstall
Date: Thu, 19 Aug 2004 19:27:15 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0408191924150.14516@rutrow.coat.com> (raw)
In-Reply-To: <412531C7.901@gentoo.org>

On Thu, 19 Aug 2004, Travis Tilley wrote:

> problem #3) since econf might set libdir now, it's no longer sane to not set
> libdir during make install, either by setting it in the ebuild or by using
> einstall. ebuilds that use econf will have --libdir=/usr/${CONF_LIBDIR} when [
> -z "${CONF_LIBDIR}" ] (this change is in the ebuild.sh in >= portage
> 2.0.51_pre18), so make install will try to install the libraries to the live
> filesystem if einstall isnt also used.

No, einstall is not the preferred method.

    make DESTDIR="${D}" install || die "make install failed"

is the preferred method.  That should work fine for Makefiles that aren't
broken with regard to DESTDIR.  If the Makefiles *are* broken, the best
thing to do is to fix them and submit a patch upstream.  If that's not
done, *then* falling back to einstall is fine, but that shouldn't be the
first choice.

Michael Sterrett
  -Mr. Bones.-
mr_bones_@gentoo.org

--
gentoo-dev@gentoo.org mailing list


  parent reply	other threads:[~2004-08-19 23:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 23:03 [gentoo-dev] hardcoding lib in ebuilds, and using econf without einstall Travis Tilley
2004-08-19 23:14 ` Mike Frysinger
2004-08-19 23:27 ` Michael Sterrett -Mr. Bones.- [this message]
2004-08-20  8:06 ` Paul de Vrieze
2004-08-20  8:11 ` Paul de Vrieze
     [not found] ` <20040820081206.C35FC194BB@starwind.homelinux.com>
2004-08-21 10:04   ` Blackace

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408191924150.14516@rutrow.coat.com \
    --to=msterret@coat.com \
    --cc=amd64@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=lv@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox