Module Name:    src
Committed By:   christos
Date:           Fri Oct  7 21:55:30 UTC 2016

Modified Files:
        src/usr.sbin/zic: Makefile

Log Message:
Handle tools build


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/zic/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/zic/Makefile
diff -u src/usr.sbin/zic/Makefile:1.17 src/usr.sbin/zic/Makefile:1.18
--- src/usr.sbin/zic/Makefile:1.17	Fri Oct  7 11:30:01 2016
+++ src/usr.sbin/zic/Makefile	Fri Oct  7 17:55:29 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2016/10/07 15:30:01 christos Exp $
+#	$NetBSD: Makefile,v 1.18 2016/10/07 21:55:29 christos Exp $
 
 .include "Makefile.inc"
 .include <bsd.own.mk>
@@ -13,7 +13,9 @@ CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DT
 
 .PATH: ${NETBSDSRCDIR}/lib/libc/time
 
+.if !defined(HOSTPROG)
 LDADD+=-lutil
 DPADD+=${LIBUTIL}
+.endif
 
 .include <bsd.prog.mk>

Reply via email to