diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-01-25 20:11:13 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-01-25 20:11:13 +0000 |
commit | 729b4c736170212b2d0e0a0f1729dc247f25164f (patch) | |
tree | a794d9da9c375d28822d2ecd2c70cb5db061ab0c /devel/cmake | |
parent | 823238dcd0502d0a1ef55795770f3ab38f6e499e (diff) |
Notes
Diffstat (limited to 'devel/cmake')
-rw-r--r-- | devel/cmake/Makefile | 2 | ||||
-rw-r--r-- | devel/cmake/files/patch-Modules_FindSDL.cmake | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index e6318585174f..2d21155bcd93 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -7,7 +7,7 @@ PORTNAME= cmake PORTVERSION= 2.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.cmake.org/files/v${PORTVERSION:C/\.[[:digit:]]+$//}/ diff --git a/devel/cmake/files/patch-Modules_FindSDL.cmake b/devel/cmake/files/patch-Modules_FindSDL.cmake new file mode 100644 index 000000000000..6551f99463f9 --- /dev/null +++ b/devel/cmake/files/patch-Modules_FindSDL.cmake @@ -0,0 +1,14 @@ +--- ./Modules/FindSDL.cmake.orig 2009-11-13 21:32:52.000000000 +0300 ++++ ./Modules/FindSDL.cmake 2010-01-25 22:23:16.749128606 +0300 +@@ -81,6 +81,11 @@ + /opt/csw # Blastwave + /opt + ) ++#On FreeBSD 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 /usr/local/include) ++ + #MESSAGE("SDL_INCLUDE_DIR is ${SDL_INCLUDE_DIR}") + + # SDL-1.1 is the name used by FreeBSD ports... |