From 13167dfb3f45ae9ee533c507b2ca525070e887c4 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 11 Oct 1999 17:13:22 +0000 Subject: [PATCH] Patches with embedded $Id$ are incorrect. Deal with perl path by using sed instead. --- textproc/latex2html/Makefile | 9 ++++++++- textproc/latex2html/patches/patch-aa | 13 ------------- textproc/latex2html/patches/patch-ab | 13 ------------- textproc/latex2html/patches/patch-ac | 13 ------------- textproc/latex2html/patches/patch-ad | 13 ------------- textproc/latex2html/patches/patch-af | 13 ------------- 6 files changed, 8 insertions(+), 66 deletions(-) delete mode 100644 textproc/latex2html/patches/patch-aa delete mode 100644 textproc/latex2html/patches/patch-ab delete mode 100644 textproc/latex2html/patches/patch-ac delete mode 100644 textproc/latex2html/patches/patch-ad delete mode 100644 textproc/latex2html/patches/patch-af diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile index 7085e52c89c..c35886522c6 100644 --- a/textproc/latex2html/Makefile +++ b/textproc/latex2html/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 1998/09/23 18:18:03 marc Exp $ +# $OpenBSD: Makefile,v 1.2 1999/10/11 17:13:22 espie Exp $ # DISTNAME= latex2html-97.1 @@ -24,6 +24,13 @@ DOCS= userman.tex manual.tex manual.gls manual.dvi manual.bbl \ licence.tex url.sty l2hidx.ist features.tex html.sty \ l2hglo.ist problems.tex l2hman.sty appendix.tex manual.index +pre-patch: + cd ${WRKSRC}; \ + for file in configure-pstoimg install-test texexpand pstoimg latex2html; do\ + mv $$file $$file.orig; \ + sed -e 1s,/usr/local/bin/perl,/usr/bin/perl, <$$file.orig >$$file; \ + done + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/latex2html/styles ${INSTALL_DATA} ${WRKSRC}/styles/* ${PREFIX}/lib/latex2html/styles diff --git a/textproc/latex2html/patches/patch-aa b/textproc/latex2html/patches/patch-aa deleted file mode 100644 index 08b9eba5df9..00000000000 --- a/textproc/latex2html/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -*** configure-pstoimg.orig Mon Sep 21 19:30:07 1998 ---- configure-pstoimg Mon Sep 21 19:30:16 1998 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl -w - #use diagnostics; - - $LATEX2HTMLDIR="$ENV{'L2HMODULE'}/user" ---- 1,4 ---- -! #!/usr/bin/perl -w - #use diagnostics; - - $LATEX2HTMLDIR="$ENV{'L2HMODULE'}/user" diff --git a/textproc/latex2html/patches/patch-ab b/textproc/latex2html/patches/patch-ab deleted file mode 100644 index a75c26c5e3e..00000000000 --- a/textproc/latex2html/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -*** install-test.orig Mon Sep 21 19:30:07 1998 ---- install-test Mon Sep 21 19:30:20 1998 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - # $Id: patch-ab,v 1.1.1.1 1998/09/23 18:18:04 marc Exp $ - # LaTeX2HTML Version 96.2 : install_test ---- 1,4 ---- -! #!/usr/bin/perl - - # $Id: patch-ab,v 1.1.1.1 1998/09/23 18:18:04 marc Exp $ - # LaTeX2HTML Version 96.2 : install_test diff --git a/textproc/latex2html/patches/patch-ac b/textproc/latex2html/patches/patch-ac deleted file mode 100644 index f42211702fb..00000000000 --- a/textproc/latex2html/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -*** texexpand.orig Mon Sep 21 19:30:07 1998 ---- texexpand Mon Sep 21 19:30:41 1998 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - # $Id: patch-ac,v 1.1.1.1 1998/09/23 18:18:05 marc Exp $ - # ---- 1,4 ---- -! #!/usr/bin/perl - - # $Id: patch-ac,v 1.1.1.1 1998/09/23 18:18:05 marc Exp $ - # diff --git a/textproc/latex2html/patches/patch-ad b/textproc/latex2html/patches/patch-ad deleted file mode 100644 index 78a9531fcb0..00000000000 --- a/textproc/latex2html/patches/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ -*** pstoimg.orig Mon Sep 21 19:30:07 1998 ---- pstoimg Mon Sep 21 19:30:34 1998 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - # This variable can be set manually or by the installation script - # to point to the DIRECTORY where the latex2html files can be found. ---- 1,4 ---- -! #!/usr/bin/perl - - # This variable can be set manually or by the installation script - # to point to the DIRECTORY where the latex2html files can be found. diff --git a/textproc/latex2html/patches/patch-af b/textproc/latex2html/patches/patch-af deleted file mode 100644 index 73b02f50d9a..00000000000 --- a/textproc/latex2html/patches/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -*** latex2html.orig Mon Sep 21 19:30:07 1998 ---- latex2html Mon Sep 21 19:30:24 1998 -*************** -*** 1,4 **** -! #!/usr/local/bin/perl - - 'di'; - 'ig00'; ---- 1,4 ---- -! #!/usr/bin/perl - - 'di'; - 'ig00';