summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-07 13:44:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-07 13:44:46 +0000
commit2b60ac6d76d9324485e93d0e68a9dae232aefc90 (patch)
treeeccea256b56b336145ea6b8df7295deb1a1c95a1 /share/mk
parent7396309b9c4a52ef93c95773bcfa3ef47f050b1d (diff)
unbreak
this specific rule is only triggered twice in the whole ports tree (sysutils/xjobs and print/l2a) This fixes them
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/sys.mk6
1 files 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: