diff options
author | Martin Neubauer <m.ne@gmx.net> | 2022-09-19 07:38:15 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2022-09-19 07:42:43 +0000 |
commit | 906df1b6f2587c491a86391cea3f1870b0e16977 (patch) | |
tree | d41f81f3552e6706a50fc0200ba9e2dbd3ab6103 /multimedia/ffmpeg | |
parent | 90fb30c46eb1c649709e2b4d900dca319c2ca93d (diff) | |
download | ports-906df1b6f2587c491a86391cea3f1870b0e16977.tar.gz ports-906df1b6f2587c491a86391cea3f1870b0e16977.zip |
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r-- | multimedia/ffmpeg/files/patch-configure | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/files/patch-configure b/multimedia/ffmpeg/files/patch-configure index c801515bbac4..ce54ab1bd8f2 100644 --- a/multimedia/ffmpeg/files/patch-configure +++ b/multimedia/ffmpeg/files/patch-configure @@ -15,3 +15,12 @@ cpu="generic" intrinsics="none" +@@ -6736,7 +6736,7 @@ fi + + if enabled sdl2; then + SDL2_CONFIG="${cross_prefix}sdl2-config" +- test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 2.1.0" SDL_events.h SDL_PollEvent ++ test_pkg_config sdl2 "sdl2 >= 2.0.1 sdl2 < 3.0.0" SDL_events.h SDL_PollEvent + if disabled sdl2 && "${SDL2_CONFIG}" --version > /dev/null 2>&1; then + sdl2_cflags=$("${SDL2_CONFIG}" --cflags) + sdl2_extralibs=$("${SDL2_CONFIG}" --libs) |