SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
devel/cmake/patches/patch-Modules_FindSDL_cmake
Normal file
15
devel/cmake/patches/patch-Modules_FindSDL_cmake
Normal file
|
@ -0,0 +1,15 @@
|
|||
Index: Modules/FindSDL.cmake
|
||||
--- Modules/FindSDL.cmake.orig
|
||||
+++ Modules/FindSDL.cmake
|
||||
@@ -124,6 +124,11 @@ else()
|
||||
set(VC_LIB_PATH_SUFFIX lib/x86)
|
||||
endif()
|
||||
|
||||
+# On OpenBSD SDL depends on libiconv and SDL_stdinc.h includes iconv.h,
|
||||
+# which is located in ${LOCALBASE}/include. Append ${LOCALBASE}/include
|
||||
+# to the SDL_INCLUDE_DIR, thus allow to build SDL apps out of box.
|
||||
+list(APPEND SDL_INCLUDE_DIR ${LOCALBASE}/include)
|
||||
+
|
||||
# SDL-1.1 is the name used by FreeBSD ports...
|
||||
# don't confuse it for the version number.
|
||||
find_library(SDL_LIBRARY_TEMP
|
Loading…
Add table
Add a link
Reference in a new issue