mplayer problem with WITH_NVIDIA

Serge Gagnon ser_gagnon at sympatico.ca
Thu Nov 11 05:08:59 GMT 2004


>>>>> 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 at sympatico.ca>
Quebec, Qc, Canada




More information about the freebsd-ports mailing list