Add missing bits from the vendor's 2005-05-04 change to
contrib/byacc/makefile.in ("add YYPATCH here so it can be tested by applications") so that applications have a hope of detecting newer FreeBSD YACC output from an older one. Submitted by: Juniper Networks
This commit is contained in:
parent
20fa47be09
commit
b63940c108
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258931
@ -1,7 +1,8 @@
|
||||
# @(#)Makefile 5.3 (Berkeley) 5/12/90
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/../../contrib/byacc
|
||||
BYACC_SRC= ${.CURDIR}/../../contrib/byacc
|
||||
.PATH: ${BYACC_SRC}
|
||||
|
||||
PROG= yacc
|
||||
SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c output.c \
|
||||
@ -13,6 +14,9 @@ CFLAGS+= -DMIXEDCASE_FILENAMES=1 \
|
||||
-DHAVE_ATEXIT=1 \
|
||||
-DHAVE_MKSTEMP=1
|
||||
|
||||
YYPATCH!= cat ${BYACC_SRC}/VERSION
|
||||
CFLAGS+= -DYYPATCH=${YYPATCH}
|
||||
|
||||
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
|
||||
MLINKS= yacc.1 byacc.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user