summaryrefslogtreecommitdiff
path: root/multimedia/mpeg
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2002-06-03 22:21:37 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2002-06-03 22:21:37 +0000
commit1d04b6716802b18653eeae4a66e853630cf3fea1 (patch)
tree0ffcff526269430c5477923c706d7562f39d4540 /multimedia/mpeg
parentWork around the broken deliver.pl behaviour on CURRENT. For some very (diff)
Build a new scanner to avoid compilation errors in crufty old AT&T
scanner skeleton.
Notes
Notes: svn path=/head/; revision=60555
Diffstat (limited to '')
-rw-r--r--multimedia/mpeg/Makefile3
-rw-r--r--multimedia/mpeg/files/patch-lexer.l15
2 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/mpeg/Makefile b/multimedia/mpeg/Makefile
index 6d7bc97e500e..72d2a11d5dd2 100644
--- a/multimedia/mpeg/Makefile
+++ b/multimedia/mpeg/Makefile
@@ -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
diff --git a/multimedia/mpeg/files/patch-lexer.l b/multimedia/mpeg/files/patch-lexer.l
new file mode 100644
index 000000000000..e7aa7054a452
--- /dev/null
+++ b/multimedia/mpeg/files/patch-lexer.l
@@ -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 */
+