Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Commit

Permalink
TI-91: Timewarrior does not compile on DragonFly
Browse files Browse the repository at this point in the history
- Thanks to Michael Neumann.
  • Loading branch information
pbeckingham committed Dec 10, 2017
1 parent 3caa7db commit 0b26128
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Jörg Krause
Ben Boeckel
Paul J. Fenwick
Michael Neumann

Thanks to the following, who submitted detailed bug reports and excellent
suggestions:
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ set (PACKAGE_TARNAME "${PACKAGE}")
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")

if (FREEBSD)
if (FREEBSD OR DRAGONFLY)
SET (FLOD_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (FLOD_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")
else (FREEBSD)
else (FREEBSD OR DRAGONFLY)
SET (FLOD_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (FLOD_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5")
endif (FREEBSD)
endif (FREEBSD OR DRAGONFLY)
SET (FLOD_DOCDIR share/doc/flod CACHE STRING "Installation directory for doc files")

message ("-- Looking for pthread")
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

- TD-120 Missing cmakedefine for HAVE_GET_CURRENT_DIR_NAME
(Thanks to Jörg Krause, Ben Boeckel).
- TI-91 Timewarrior does not compile on DragonFly
(thanks to Michael Neumann).
- TW-1845 Cygwin build fails, missing get_current_dir_name
(thanks to hosaka).
- TW-1936 Tweak tests to have fuller TAP compliance
Expand Down
1 change: 1 addition & 0 deletions cmake.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#cmakedefine FREEBSD
#cmakedefine OPENBSD
#cmakedefine NETBSD
#cmakedefine DRAGONFLY
#cmakedefine HAIKU
#cmakedefine SOLARIS
#cmakedefine KFREEBSD
Expand Down
2 changes: 2 additions & 0 deletions cmake/CXXSniffer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
set (OPENBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set (NETBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
set (DRAGONFLY true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set (SOLARIS true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
Expand Down

0 comments on commit 0b26128

Please sign in to comment.