[MPlayer-users] Cross-compilation

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Tue Aug 14 19:58:12 CEST 2007


On Tuesday, 14 August 2007 at 15:30, Eric Nelson wrote:
> Hello, all.
> 
> The patch below allows override of the DESTDIR symbol when doing
> "make install". This is useful when creating a filesystem for an
> embedded target.
> 
> Eric Nelson
> Boundary Devices
> 
> --- mplayer.orig/configure	2007-08-13 18:16:26.000000000 -0700
> +++ mplayer/configure	2007-08-13 18:18:47.000000000 -0700
> @@ -7432,7 +7432,7 @@
>  LANG = C
>  MAN_LANG = $MAN_LANG
>  TARGET_OS = $system_name
> -DESTDIR =
> +DESTDIR ?=
>  prefix = \$(DESTDIR)$_prefix
>  BINDIR = \$(DESTDIR)$_bindir
>  DATADIR = \$(DESTDIR)$_datadir

I don't think this is necessary. Overriding DESTDIR during make install
works just fine without this patch. In fact, it's been working for years.

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list