[patch] multimedia/ffmpeg fix for libvdpau dependency

Dominic Fandrey kami at freebsd.org
Tue Dec 16 16:54:24 UTC 2014


libvdpau is only a build dependency, even though it is dynamically
linked.

I.e. after running /pkg autoremove/ running ffmpeg failed:
# ffmpeg
Shared object "libvdpau.so.1" not found, required by "ffmpeg"

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 

-------------- next part --------------
Index: multimedia/ffmpeg/Makefile
===================================================================
--- multimedia/ffmpeg/Makefile	(revision 374809)
+++ multimedia/ffmpeg/Makefile	(working copy)
@@ -178,7 +178,7 @@
 VAAPI_CONFIGURE_ENABLE=	vaapi
 
 # vdpau
-VDPAU_BUILD_DEPENDS=	${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau
+VDPAU_LIB_DEPENDS=	libvdpau.so:${PORTSDIR}/multimedia/libvdpau
 VDPAU_CONFIGURE_ENABLE=	vdpau
 
 # vo-aacenc


More information about the freebsd-multimedia mailing list