Portability
- Fixed cmake issues on NetBSD (thanks to atomicules).
This commit is contained in:
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user