ports/73819: Patch port: multimedia/mplayer WITH_NVIDIA & FreeBSD-4

Serge Gagnon ser_gagnon at sympatico.ca
Thu Nov 11 14:00:45 UTC 2004

>Number:         73819
>Category:       ports
>Synopsis:       Patch port: multimedia/mplayer WITH_NVIDIA & FreeBSD-4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 14:00:44 GMT 2004
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.10-STABLE i386
System: FreeBSD quenix1.dyndns.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Oct 17 14:07:41 EDT 2004 root at quenix1.dyndns.org:/usr/obj/usr/src/sys/OCEAN i386


	mplayer can not run on FreeBSD 4.X if it is built with
	This patch just prevent the user


--- patch-multimedia-mplayer-Makefile.diff begins here ---
--- 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
 # default: undefined
@@ -302,6 +302,11 @@
 .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"
 #Building of vidix dependent shared libs is only possible
 #on i386 at the moment.
--- patch-multimedia-mplayer-Makefile.diff ends here ---


More information about the freebsd-ports-bugs mailing list