[MPlayer-users] Configuration/Makefile patches and one bug report/fix

pl p_l at tfz.net
Mon Nov 19 23:02:08 CET 2001


On Mon, Nov 19, 2001 at 01:14:46PM -0600, D J Hawkey Jr wrote:
[.. mpeg bug ..]

> OK, so then I wanted DVD support and the GUI. I built and installed
> libdvdread, but being the paranoid^H^H^H^H^H^H^H^Hcautious hacker/admin
> that I am, set "./configure --prefix=..." to the directory I installed
> MPlayer in, $(HOME)/projects/MPlayer. This was fine. So, on rebuilding
> MPlayer, I set "./configure --with-extraincdir=... --with-extralibdir=..."
> to the appropriate paths (the prefix path, too) within that destination,
> but the extra paths wouldn't take. So after a bunch of messing around, I
> settled on these hacks:
> 
> ===8<===
> 
> --- MPlayer-20011118/configure.DIST	Fri Nov 16 12:40:27 2001
> +++ MPlayer-20011118/configure	Mon Nov 19 08:35:36 2001
> @@ -467,8 +467,8 @@
>  # or only /usr/local/include.
>  
>  if freebsd ; then
> -_extralibdir=-L/usr/local/lib
> -_extraincdir=-I/usr/local/include
> +_extralibdir="$_extralibdir -L/usr/local/lib"
> +_extraincdir="$_extraincdir -I/usr/local/include"
>  fi
>  
>  test -z "$_extralibdir" && _extralibdir=-L/usr/lib
newest version of configure (configure2 branch) already fixed this one.


> --- MPlayer-20011118/Gui/mplayer/Makefile.DIST	Mon Oct  1 04:30:44 2001
> +++ MPlayer-20011118/Gui/mplayer/Makefile	Mon Nov 19 09:02:30 2001
> @@ -7,7 +7,7 @@
>  
>  LIB = mplayer
>  
> -INCDIR  = -I. -I../event -I../wm -I../skin $(GTKINC)
> +INCDIR  = -I. -I../event -I../wm -I../skin $(GTKINC) $(EXTRA_INC)
>  
>  OPTIMIZE =  $(OPTFLAGS) -fomit-frame-pointer \
>  	    -fexpensive-optimizations -fschedule-insns2 -Wall
This one applied.
Thanks.
[...]

--
pl



More information about the MPlayer-users mailing list