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 asmyers
Lukas Barth Lukas Barth
Paul J. Fenwick Paul J. Fenwick
Michael Neumann
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:

View file

@ -27,13 +27,13 @@ set (PACKAGE_TARNAME "${PACKAGE}")
set (PACKAGE_VERSION "${VERSION}") set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${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_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") 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_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") 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") SET (TIMEW_DOCDIR share/doc/timew CACHE STRING "Installation directory for doc files")
message ("-- Configuring cmake.h") message ("-- Configuring cmake.h")

View file

@ -59,6 +59,8 @@
- TI-78 Tag parsing broken for tags starting with "or_" - TI-78 Tag parsing broken for tags starting with "or_"
(Thanks to Lukas Barth). (Thanks to Lukas Barth).
- TI-90 Let 'continue' accept a date or a date range - 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 - Fixed Python 3 support of the holiday/refresh script
(thanks to Jelle van der Waa). (thanks to Jelle van der Waa).
- Added missing man page link - Added missing man page link

View file

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

View file

@ -33,6 +33,8 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
set (OPENBSD true) set (OPENBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD") elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set (NETBSD true) set (NETBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
set (DRAGONFLY true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS") elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set (SOLARIS true) set (SOLARIS true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU") elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")