diff options
-rw-r--r-- | graphics/mpeg/Makefile | 3 | ||||
-rw-r--r-- | graphics/mpeg/files/patch-lexer.l | 15 | ||||
-rw-r--r-- | multimedia/mpeg/Makefile | 3 | ||||
-rw-r--r-- | multimedia/mpeg/files/patch-lexer.l | 15 |
4 files changed, 34 insertions, 2 deletions
diff --git a/graphics/mpeg/Makefile b/graphics/mpeg/Makefile index 6d7bc97..72d2a11 100644 --- a/graphics/mpeg/Makefile +++ b/graphics/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/graphics/mpeg/files/patch-lexer.l b/graphics/mpeg/files/patch-lexer.l new file mode 100644 index 0000000..e7aa705 --- /dev/null +++ b/graphics/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 */ + diff --git a/multimedia/mpeg/Makefile b/multimedia/mpeg/Makefile index 6d7bc97..72d2a11 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 0000000..e7aa705 --- /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 */ + |