svn commit: r258931 - head/usr.bin/yacc

Baptiste Daroussin bapt at FreeBSD.org
Wed Dec 4 19:19:39 UTC 2013


On Wed, Dec 04, 2013 at 07:15:56PM +0000, David E. O'Brien wrote:
> Author: obrien
> Date: Wed Dec  4 19:15:56 2013
> New Revision: 258931
> URL: http://svnweb.freebsd.org/changeset/base/258931
> 
> Log:
>   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
> 
> Modified:
>   head/usr.bin/yacc/Makefile
> 
> Modified: head/usr.bin/yacc/Makefile
> ==============================================================================
> --- head/usr.bin/yacc/Makefile	Wed Dec  4 19:04:56 2013	(r258930)
> +++ head/usr.bin/yacc/Makefile	Wed Dec  4 19:15:56 2013	(r258931)
> @@ -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 \
> @@ -12,7 +13,10 @@ CFLAGS+=	-DMIXEDCASE_FILENAMES=1 \
>  		-DHAVE_FCNTL_H=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
>  
> _______________________________________________
> svn-src-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"

Thanks

Sorry I missed it,

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20131204/a96c15cb/attachment.sig>


More information about the svn-src-head mailing list