TI-91: Fix compilation on DragonFly

Needs an update to src/libshared as well.
This commit is contained in:
Michael Neumann 2017-11-16 13:33:57 +01:00 committed by Paul Beckingham
parent 0dea44594e
commit 963d4ac7ae
5 changed files with 9 additions and 3 deletions

View file

@ -26,6 +26,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
asmyers
Lukas Barth
Paul J. Fenwick
Michael Neumann
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:

View file

@ -27,13 +27,13 @@ set (PACKAGE_TARNAME "${PACKAGE}")
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
if (FREEBSD)
if (FREEBSD OR DRAGONFLY)
SET (TIMEW_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (TIMEW_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")
else (FREEBSD)
else (FREEBSD OR DRAGONFLY)
SET (TIMEW_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (TIMEW_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5")
endif (FREEBSD)
endif (FREEBSD OR DRAGONFLY)
SET (TIMEW_DOCDIR share/doc/timew CACHE STRING "Installation directory for doc files")
message ("-- Configuring cmake.h")

View file

@ -59,6 +59,8 @@
- TI-78 Tag parsing broken for tags starting with "or_"
(Thanks to Lukas Barth).
- TI-90 Let 'continue' accept a date or a date range
- TI-91 Timewarrior does not compile on DragonFly
(Thanks to Michael Neumann).
- Fixed Python 3 support of the holiday/refresh script
(thanks to Jelle van der Waa).
- Added missing man page link

View file

@ -28,6 +28,7 @@
#cmakedefine FREEBSD
#cmakedefine OPENBSD
#cmakedefine NETBSD
#cmakedefine DRAGONFLY
#cmakedefine HAIKU
#cmakedefine SOLARIS
#cmakedefine KFREEBSD

View file

@ -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")