Gentoo Archives: gentoo-dev

From: "Michael Sterrett -Mr. Bones.-" <msterret@××××.com>
To: Travis Tilley <lv@g.o>
Cc: gentoo-dev@l.g.o, amd64@g.o
Subject: Re: [gentoo-dev] hardcoding lib in ebuilds, and using econf without einstall
Date: Thu, 19 Aug 2004 23:28:51
Message-Id: Pine.LNX.4.58.0408191924150.14516@rutrow.coat.com
In Reply to: [gentoo-dev] hardcoding lib in ebuilds, and using econf without einstall by Travis Tilley
1 On Thu, 19 Aug 2004, Travis Tilley wrote:
2
3 > problem #3) since econf might set libdir now, it's no longer sane to not set
4 > libdir during make install, either by setting it in the ebuild or by using
5 > einstall. ebuilds that use econf will have --libdir=/usr/${CONF_LIBDIR} when [
6 > -z "${CONF_LIBDIR}" ] (this change is in the ebuild.sh in >= portage
7 > 2.0.51_pre18), so make install will try to install the libraries to the live
8 > filesystem if einstall isnt also used.
9
10 No, einstall is not the preferred method.
11
12 make DESTDIR="${D}" install || die "make install failed"
13
14 is the preferred method. That should work fine for Makefiles that aren't
15 broken with regard to DESTDIR. If the Makefiles *are* broken, the best
16 thing to do is to fix them and submit a patch upstream. If that's not
17 done, *then* falling back to einstall is fine, but that shouldn't be the
18 first choice.
19
20 Michael Sterrett
21 -Mr. Bones.-
22 mr_bones_@g.o
23
24 --
25 gentoo-dev@g.o mailing list