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 |