aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-10-16 15:16:57 +0800
committermartymac <martymac@FreeBSD.org>2013-10-16 15:16:57 +0800
commit94ddc70080f20724ddbbf0782a0d48e42cfd9be4 (patch)
treefbfe856451be6cd52fe77a1f391586db632b670c /emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake
parent2a796d0c559b4be7eef2dddc90105fb411fa8ff3 (diff)
downloadfreebsd-ports-gnome-94ddc70080f20724ddbbf0782a0d48e42cfd9be4.tar.gz
freebsd-ports-gnome-94ddc70080f20724ddbbf0782a0d48e42cfd9be4.tar.zst
freebsd-ports-gnome-94ddc70080f20724ddbbf0782a0d48e42cfd9be4.zip
- Update to 4.0.0
- As OpenGL rendering now works, remove the -devel suffix - Enable staging - Use new LIB_DEPENDS format - Add new UPNP option - Handle -liconv removal on -CURRENT
Diffstat (limited to 'emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake')
-rw-r--r--emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake b/emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake
new file mode 100644
index 000000000000..ca8f74e95efb
--- /dev/null
+++ b/emulators/dolphin-emu/files/patch-CMakeTests-CheckLib.cmake
@@ -0,0 +1,21 @@
+--- CMakeTests/CheckLib.cmake.orig 2012-11-07 08:05:26.000000000 +0100
++++ CMakeTests/CheckLib.cmake 2013-03-06 07:22:30.000000000 +0100
+@@ -55,8 +55,8 @@
+
+ macro(check_libav)
+ if(PKG_CONFIG_FOUND)
+- pkg_check_modules(LIBAV libavcodec>=53.35.0 libavformat>=53.21.0
+- libswscale>=2.1.0 libavutil>=51.22.1)
++ pkg_check_modules(LIBAV libavcodec1>=53.35.0 libavformat1>=53.21.0
++ libswscale1>=2.1.0 libavutil1>=51.22.1)
+ else()
+ message("pkg-config is required to check for libav")
+ endif()
+@@ -64,6 +64,7 @@
+ message("libav found, enabling AVI frame dumps")
+ add_definitions(-DHAVE_LIBAV)
+ include_directories(${LIBAV_INCLUDE_DIRS})
++ link_directories(${LIBAV_LIBRARY_DIRS})
+ else()
+ message("libav not found, disabling AVI frame dumps")
+ endif()