+++ /dev/null
---- a/configure.bak 2018-06-16 10:12:16.000000000 +0900
-+++ b/configure 2018-06-30 17:38:01.378774000 +0900
-@@ -6325,7 +6325,7 @@
-
- if enabled x86; then
- case $target_os in
-- mingw32*|mingw64*|win32|win64|linux|cygwin*)
-+ mingw32*|mingw64*|win32|win64|linux|freebsd|cygwin*)
- ;;
- *)
- disable ffnvcodec cuvid nvdec nvenc
grp.add_option( '--disable-ffmpeg-aac', dest="enable_ffmpeg_aac", action='store_false' )
h = IfHost( 'enable Nvidia NVEnc video encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value
- grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not host.match( '*-*-darwin*' ), action='store_true', help=h )
+ grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' )), action='store_true', help=h )
cli.add_option_group( grp )