Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/zic Fix build on Solaris. "seems reasonable" by joerg.



details:   https://anonhg.NetBSD.org/src/rev/5e37da46f4b0
branches:  trunk
changeset: 752811:5e37da46f4b0
user:      hans <hans%NetBSD.org@localhost>
date:      Sun Mar 07 19:10:10 2010 +0000

description:
Fix build on Solaris. "seems reasonable" by joerg.

diffstat:

 tools/zic/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r fc32437ce057 -r 5e37da46f4b0 tools/zic/Makefile
--- a/tools/zic/Makefile        Sun Mar 07 17:44:40 2010 +0000
+++ b/tools/zic/Makefile        Sun Mar 07 19:10:10 2010 +0000
@@ -1,6 +1,10 @@
-#      $NetBSD: Makefile,v 1.4 2010/01/02 10:42:49 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.5 2010/03/07 19:10:10 hans Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}zic
 HOST_SRCDIR=   usr.sbin/zic
 
+.if !empty(HOST_OSTYPE:MSunOS-5.11-*)
+HOST_CPPFLAGS= -D_POSIX_PTHREAD_SEMANTICS
+.endif
+
 .include "${.CURDIR}/../Makefile.host"



Home | Main Index | Thread Index | Old Index