allows working without depends, as discovered and discussed with drahn@
authorespie <espie@openbsd.org>
Mon, 3 Jul 2017 15:17:11 +0000 (15:17 +0000)
committerespie <espie@openbsd.org>
Mon, 3 Jul 2017 15:17:11 +0000 (15:17 +0000)
okay drahn@

usr.bin/mklocale/Makefile

index a960bc5..78d6df5 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.2 2009/08/08 19:37:14 sobrado Exp $
+#      $OpenBSD: Makefile,v 1.3 2017/07/03 15:17:11 espie Exp $
 #      $NetBSD: Makefile,v 1.11 2003/08/01 17:04:04 lukem Exp $
 
 .include <bsd.own.mk>
@@ -11,6 +11,7 @@ YHEADER=      1
 yacc.c yacc.h: yacc.y
        ${YACC} -d ${.ALLSRC} && mv y.tab.c yacc.c && mv y.tab.h yacc.h
 
+lex.o: yacc.h
 
 CLEANFILES+= yacc.c yacc.h
 .include <bsd.prog.mk>