Build a new scanner to avoid compilation errors in crufty old AT&T

scanner skeleton.
This commit is contained in:
Garrett Wollman 2002-06-03 22:21:37 +00:00
parent 46e3f1b0da
commit 1d04b67168
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60555
4 changed files with 34 additions and 2 deletions

View File

@ -19,7 +19,8 @@ WRKSRC= ${WRKDIR}/mpegdir
MAN1= mpeg.1
pre-build:
@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
@-${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
cd ${WRKSRC} && lex -lt lexer.l >lexer.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg ${PREFIX}/bin

View File

@ -0,0 +1,15 @@
--- lexer.l.orig Mon Jun 3 18:16:25 2002
+++ lexer.l Mon Jun 3 18:16:32 2002
@@ -1,3 +1,4 @@
+%{
/*************************************************************
Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.
PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
@@ -15,7 +16,6 @@
Video Research Group (PVRG) code, and not by any author(s) (or
Stanford University) name.
*************************************************************/
-%{
/*LABEL lexer.c */

View File

@ -19,7 +19,8 @@ WRKSRC= ${WRKDIR}/mpegdir
MAN1= mpeg.1
pre-build:
@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
@-${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
cd ${WRKSRC} && lex -lt lexer.l >lexer.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg ${PREFIX}/bin

View File

@ -0,0 +1,15 @@
--- lexer.l.orig Mon Jun 3 18:16:25 2002
+++ lexer.l Mon Jun 3 18:16:32 2002
@@ -1,3 +1,4 @@
+%{
/*************************************************************
Copyright (C) 1990, 1991, 1993 Andy C. Hung, all rights reserved.
PUBLIC DOMAIN LICENSE: Stanford University Portable Video Research
@@ -15,7 +16,6 @@
Video Research Group (PVRG) code, and not by any author(s) (or
Stanford University) name.
*************************************************************/
-%{
/*LABEL lexer.c */