summaryrefslogtreecommitdiff
path: root/games/supertuxkart/patches/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertuxkart/patches/patch-CMakeLists.txt')
-rw-r--r--games/supertuxkart/patches/patch-CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/supertuxkart/patches/patch-CMakeLists.txt b/games/supertuxkart/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..2fdf7a5a955
--- /dev/null
+++ b/games/supertuxkart/patches/patch-CMakeLists.txt
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2013/01/06 15:16:20 ryoon Exp $
+
+* Link to system libraries
+
+--- CMakeLists.txt.orig 2012-12-10 23:21:40.000000000 +0000
++++ CMakeLists.txt
+@@ -196,7 +196,11 @@ target_link_libraries(supertuxkart
+ ${IRRLICHT_LIBRARY}
+ ${IRRLICHT_XF86VM_LIBRARY}
+ ${OPENAL_LIBRARY}
+- ${OPENGL_LIBRARIES})
++ ${OPENGL_LIBRARIES}
++ png
++ jpeg
++ bz2
++ z)
+
+ if(USE_FRIBIDI)
+ target_link_libraries(supertuxkart ${FRIBIDI_LIBRARIES})