mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
- Renamed patches to use modern naming convention - Regenerated a few other paatches PR: 224301 Submitted by: me Approved by: maintainer timeout
14 lines
642 B
Text
14 lines
642 B
Text
--- tools/depends/target/ffmpeg/Makefile.orig 2017-11-14 16:55:01 UTC
|
|
+++ tools/depends/target/ffmpeg/Makefile
|
|
@@ -24,6 +24,11 @@ ffmpg_config += --enable-encoder=png --enable-encoder=
|
|
ifeq ($(CROSS_COMPILING), yes)
|
|
ffmpg_config += --arch=$(CPU) --enable-cross-compile
|
|
endif
|
|
+ifeq ($(OS), freebsd)
|
|
+ ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
|
|
+ ffmpg_config += --enable-vdpau --enable-vaapi --enable-gnutls
|
|
+ ffmpg_config += --enable-libvorbis --enable-muxer=ogg --enable-encoder=libvorbis
|
|
+endif
|
|
ifeq ($(OS), linux)
|
|
ffmpg_config += --target-os=$(OS) --cpu=$(CPU)
|
|
ffmpg_config += --enable-vdpau --enable-vaapi --enable-pic
|