diff options
author | Justin Riley <justin.t.riley@gmail.com> | 2014-03-27 10:37:27 -0400 |
---|---|---|
committer | Justin Riley <justin.t.riley@gmail.com> | 2014-03-27 10:37:27 -0400 |
commit | f5c10b6d0834c24d1f8e1bcb3d75e2c24978ef1a (patch) | |
tree | 392beb2354b051bd17d2bc73fc7fd46c24e5f915 /dev-util/cmake/files/cmake-2.8.10-libform.patch | |
parent | add patched nmon-14i.ebuild (fixes #505114) (diff) | |
download | jtriley-f5c10b6d0834c24d1f8e1bcb3d75e2c24978ef1a.tar.gz jtriley-f5c10b6d0834c24d1f8e1bcb3d75e2c24978ef1a.tar.bz2 jtriley-f5c10b6d0834c24d1f8e1bcb3d75e2c24978ef1a.zip |
cmake-2.8.12.2: fix ncurses tinfo bug #468622
Diffstat (limited to 'dev-util/cmake/files/cmake-2.8.10-libform.patch')
-rw-r--r-- | dev-util/cmake/files/cmake-2.8.10-libform.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/cmake/files/cmake-2.8.10-libform.patch b/dev-util/cmake/files/cmake-2.8.10-libform.patch new file mode 100644 index 0000000..052cc30 --- /dev/null +++ b/dev-util/cmake/files/cmake-2.8.10-libform.patch @@ -0,0 +1,51 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ea1c033..ae479ce 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -395,9 +395,6 @@ macro (CMAKE_BUILD_UTILITIES) + else () + set(BUILD_CursesDialog 0) + endif () +- if(BUILD_CursesDialog) +- add_subdirectory(Source/CursesDialog/form) +- endif() + endmacro () + + #----------------------------------------------------------------------- +diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt +index 96e28b4..4102379 100644 +--- a/Source/CursesDialog/CMakeLists.txt ++++ b/Source/CursesDialog/CMakeLists.txt +@@ -25,13 +25,16 @@ set( CURSES_SRCS + CursesDialog/ccmake + ) + +-include_directories(${CMake_SOURCE_DIR}/Source/CursesDialog/form +- ${CMake_BINARY_DIR}/Source/CursesDialog/form) + include_directories(${CURSES_INCLUDE_PATH}) + + + add_executable(ccmake ${CURSES_SRCS} ) + target_link_libraries(ccmake CMakeLib) +-target_link_libraries(ccmake cmForm) ++TARGET_LINK_LIBRARIES(ccmake form) ++TARGET_LINK_LIBRARIES(ccmake ${CURSES_LIBRARY}) ++IF(CURSES_EXTRA_LIBRARY) ++ TARGET_LINK_LIBRARIES(ccmake ${CURSES_EXTRA_LIBRARY}) ++ENDIF(CURSES_EXTRA_LIBRARY) ++ + + install_targets(/bin ccmake) +diff --git a/Source/CursesDialog/cmCursesStandardIncludes.h b/Source/CursesDialog/cmCursesStandardIncludes.h +index b157a28..f131ea4 100644 +--- a/Source/CursesDialog/cmCursesStandardIncludes.h ++++ b/Source/CursesDialog/cmCursesStandardIncludes.h +@@ -15,8 +15,6 @@ + #define _MSE_INT_H + #endif + +-#include <cmFormConfigure.h> +- + #if defined(__hpux) + # define _BOOL_DEFINED + # include <sys/time.h> |