[Ffmpeg-devel] [PATCH] Add DESTDIR support to Makefiles
Luca Barbato
lu_zero
Tue Nov 1 13:09:12 CET 2005
Ivan Kalvachev wrote:
> Sometimes we need DESTDIR to be defined during configure & build in
> order to use e.g. headers and libs from the previously build packages.
> This is usual when building an entire system, like bsd port system and
> maybe gentoo(somebody please check).
Not really. Gentoo uses the installed headers and libs and would use
DESTDIR just on install stage.
>
> BTW what's the problem to hard code it into the install section of
> Makefile, instead of using hack that will fail on something like
>
> ./configure
> DESTDIR=/tmp make install
make DESTDIR=${place} install
Is the wanted behavior. Since you compile it as it was and would install
in the live system but you want to install on a separate dir to be
packed for later usage.
> Anyway destdir was in my todo, gonna take a closer look.
Nice =)
lu
--
Luca Barbato
Gentoo/linux Developer Gentoo/PPC Operational Leader
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list