Ticket #46700: ffmpeg.Portfile.diff
File ffmpeg.Portfile.diff, 1.6 KB (added by eirnym (Eir Nym), 10 years ago) |
---|
-
Portfile
70 70 port:schroedinger \ 71 71 port:libass \ 72 72 port:libbluray \ 73 port:gnutls \74 73 port:openjpeg15 \ 75 74 port:fontconfig \ 76 75 port:freetype \ … … 99 98 100 99 # The old ffmpeg port was GPL-2+ as base and had a no_gpl variant, so this keeps us consistent 101 100 # Also, -gpl2 causes other ports to fail to build due to the missing libpostproc (#35473) 102 default_variants-append +gpl2 101 default_variants-append +gpl2 102 default_variants-append +gnutls 103 103 104 104 configure.cflags-append -DHAVE_LRINTF ${configure.cppflags} 105 105 configure.args \ … … 118 118 --enable-libass \ 119 119 --enable-libbluray \ 120 120 --enable-lzma \ 121 --enable-gnutls \122 121 --enable-fontconfig \ 123 122 --enable-libfreetype \ 124 123 --enable-libfribidi \ … … 253 252 license-append GPL-2+ 254 253 } 255 254 255 256 256 # libsmbclient causes build failure when +gpl3 is selected (#46244) 257 257 # disable until underlying cause is identified and addressed 258 258 … … 282 282 license-append Restrictive 283 283 } 284 284 285 variant gnutls conflicts openssl description {Enable SSL using GnuTLS} { 286 depends_lib-append port:gnutls 287 configure.args-append --enable-gnutls 288 } 289 290 variant openssl requires nonfree conflicts gnutls description {Enable SSL using OpenSSL} { 291 configure.args-append --enable-openssl 292 } 293 285 294 if {[variant_isset nonfree]} { 286 295 notes " 287 296 *******