Attempted to build with portmaster on FreeBSD-RELEASE 11.0p6 libmpcodecs/vd_ffmpeg.o: In function `set_format_params': libmpcodecs/vd_ffmpeg.c:(.text+0x13e8): undefined reference to `av_alloc_vdpaucontext' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:747: mplayer] Error 1 gmake[2]: Leaving directory '/usr/ports/multimedia/mplayer/work/mplayer-export-2016-12-28' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/mplayer *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/mplayer
The VDPAU option was not set for multimedia/ffmpeg. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215663
Exactly. When you want to compile in VDPAU support for mplayer, you must do so in ffmpeg as well.