mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Portability
- Fixed cmake issues on NetBSD (thanks to atomicules).
This commit is contained in:
parent
d0ebf4c354
commit
3d79abb106
3 changed files with 8 additions and 1 deletions
1
AUTHORS
1
AUTHORS
|
@ -103,6 +103,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
||||||
Jochen Sprickerhof
|
Jochen Sprickerhof
|
||||||
Alexander Sulfrian
|
Alexander Sulfrian
|
||||||
David Binderman
|
David Binderman
|
||||||
|
atomicules
|
||||||
|
|
||||||
Thanks to the following, who submitted detailed bug reports and excellent
|
Thanks to the following, who submitted detailed bug reports and excellent
|
||||||
suggestions:
|
suggestions:
|
||||||
|
|
|
@ -29,6 +29,12 @@ else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
set (UNKNOWN true)
|
set (UNKNOWN true)
|
||||||
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|
||||||
|
if (NETBSD)
|
||||||
|
#Since readline, etc likely to be in /usr/pkg/lib, not standard library
|
||||||
|
#Otherwise will remove links during install
|
||||||
|
set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||||
|
endif (NETBSD)
|
||||||
|
|
||||||
if (FREEBSD)
|
if (FREEBSD)
|
||||||
SET (TASK_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
|
SET (TASK_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
|
||||||
SET (TASK_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")
|
SET (TASK_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <Directory.h>
|
#include <Directory.h>
|
||||||
|
|
||||||
#ifdef SOLARIS
|
#if defined SOLARIS || defined NETBSD
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue