Hello, I just noticed that the daemon for downtimed was trying to use /var/lib instead of /var/db when compiled on FreeBSD 9.1 amd64. I tracked the problem down to __FreeBSD_kernel__ being defined which was, I presume, supposed to be used to check for Debian GNU/kFreeBSD in this case. I have attached a patch that can be added to the files directory for the port to fix this.
I hope this helps! -- Douglas William Thrift <doug...@douglasthrift.net> <http://douglasthrift.net/>
--- ./downtimedb.h.orig 2013-04-23 01:45:51.612444692 -0700 +++ ./downtimedb.h 2013-04-23 01:47:11.486445742 -0700 @@ -61,7 +61,8 @@ #define DOWNTIMEDB_WHAT_SHUTDOWN 2 #define DOWNTIMEDB_WHAT_CRASH 3 -#if defined(__linux__) || defined(__FreeBSD_kernel__) || !defined(_PATH_VARDB) +#if defined(__linux__) || (defined(__FreeBSD_kernel__) \ + && !defined(__FreeBSD__)) || !defined(_PATH_VARDB) #define PATH_DOWNTIMEDBDIR "/var/lib/downtimed/" #else #define PATH_DOWNTIMEDBDIR _PATH_VARDB "downtimed/"
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"