Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 00:10:28 -0500
From:      Serge Gagnon <ser_gagnon@sympatico.ca>
To:        Michael Johnson <ahze@ahze.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mplayer problem with WITH_NVIDIA 
Message-ID:  <20041111050857.LLPO29162.tomts5-srv.bellnexxia.net@quenix1.dyndns.org>
In-Reply-To: Message from Michael Johnson <ahze@ahze.net>  <A7A6046D-338A-11D9-9029-000A958C81C6@ahze.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

>>>>> On Wed, 10 Nov 2004, "Michael" == Michael Johnson wrote:
...

  +> The libc.so.5 is from FreeBSD 5.x, which FreeBSD 4.x only has
  +> libc.so.4

...

  Michael> Ahhh, I totally missed the libc.so.5, well dang, I guess you
  Michael> can't use WITH_NVIDIA in 4.x =/

  Michael> Michael

  +> Is there already a PR of it? Do you want that i send-pr it?

  Michael> You'll have to ask nvidia about that, its a closed source
  Michael> driver =/

I know, but if you told me that this option (WITH_NVIDIA) and friends just 
works with FreeBSD 5X, can we submit a 

--- Makefile.orig	Wed Nov 10 21:38:10 2004
+++ Makefile	Wed Nov 10 23:46:07 2004
@@ -31,7 +31,7 @@
 # default: disabled
 # Enable nvidia XVMC support for nvidia video cards
 # Note: This is highly experimental at the moment and works only for
-#       MPEG1/2 using -vo xvmc -vc ffmpeg12mc
+#       MPEG1/2 using -vo xvmc -vc ffmpeg12mc on FreeBSD-5
 #
 # WITHOUT_MENCODER
 # default: undefined
@@ -302,6 +302,11 @@
 		x2mpsub.sh
 
 .include <bsd.port.pre.mk>
+
+# Can't run mplayer/nvidia-driver WITH_NDIVIA on FreeBSD 4.X now
+.if ${OSVERSION} < 500000 && defined(WITH_NVIDIA)
+IGNORE=	"Can not run on 4.X with WITH_NVIDIA"
+.endif
 
 #Building of vidix dependent shared libs is only possible
 #on i386 at the moment.

?
ftp://quenix1.dyndns.org/users/serge/patch-multimedia-mplayer-Makefile.diff


-- 
Serge Gagnon <ser_gagnon@sympatico.ca>
Quebec, Qc, Canada




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041111050857.LLPO29162.tomts5-srv.bellnexxia.net>