diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2016-11-14 02:05:29 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2016-11-14 02:05:29 +0000 |
commit | 069eee7c18293b543157da9e6b0238b436a105ab (patch) | |
tree | 9e542faf1c6d7730f1024d2c6443a7f89ac172a8 /sysutils/cpu-x/files | |
parent | - fix build on FreeBSD-11 with option PAM (diff) |
Add a port of CPU-X, a free software that gathers information about CPU,
motherboard, and more on one's system, similar to CPU-Z for Windows.
Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1477420923 which corresponds to commit f10b0d4 tagged
as this release.
Notes
Notes:
svn path=/head/; revision=426077
Diffstat (limited to 'sysutils/cpu-x/files')
-rw-r--r-- | sysutils/cpu-x/files/patch-src_CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/cpu-x/files/patch-src_CMakeLists.txt b/sysutils/cpu-x/files/patch-src_CMakeLists.txt new file mode 100644 index 000000000000..e185cb9ad2b6 --- /dev/null +++ b/sysutils/cpu-x/files/patch-src_CMakeLists.txt @@ -0,0 +1,17 @@ +--- src/CMakeLists.txt.orig 2016-10-25 18:42:03 UTC ++++ src/CMakeLists.txt +@@ -37,7 +37,13 @@ endif(WITH_GTK) + + # NCurses + if(WITH_NCURSES) +- pkg_check_modules(NCURSES ncurses) ++ # Assume ncurses from the base on FreeBSD ++ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ++ set(NCURSES_FOUND 1) ++ set(NCURSES_LIBRARIES "-l:libncursesw.so") ++ else() ++ pkg_check_modules(NCURSES ncurses) ++ endif() + if(NCURSES_FOUND) + include_directories(${NCURSES_INCLUDE_DIRS}) + link_directories(${NCURSES_LIBRARY_DIRS}) |