From 7e58c4550dd05759d136c8044e9b2d2dedffc387 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 7 Jul 2017 13:44:45 +0000 Subject: [PATCH] unbreak this specific rule is only triggered twice in the whole ports tree (sysutils/xjobs and print/l2a) This fixes them --- share/mk/sys.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 4c050241f5a..7dd70ebe8c8 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -1,4 +1,4 @@ -# $OpenBSD: sys.mk,v 1.79 2017/07/05 13:31:40 espie Exp $ +# $OpenBSD: sys.mk,v 1.80 2017/07/07 13:44:45 espie Exp $ # $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $ # @(#)sys.mk 5.11 (Berkeley) 3/13/91 @@ -192,9 +192,9 @@ CTAGS?= /usr/bin/ctags ${LEX.l} -o ${.TARGET} ${.IMPSRC} .l.o: ${LEX.l} -o lex.${.PREFIX}.c ${.IMPSRC} - ${COMPILE.c} -c lex.${.PREFIX}.c + ${COMPILE.c} -o ${.TARGET} -c lex.${.PREFIX}.c rm -f lex.${.PREFIX}.c - if test -f ${.TARGET:R}.d; then sed -i -e 's,lex.${.PREFIX}.lex.c,${.IMPSRC},' ${.TARGET:R}.d; fi + if test -f ${.TARGET:R}.d; then sed -i -e 's,lex.${.PREFIX}.c,${.IMPSRC},' ${.TARGET:R}.d; fi # Yacc .y: -- 2.20.1