Patches with embedded $Id$ are incorrect.

Deal with perl path by using sed instead.
This commit is contained in:
espie 1999-10-11 17:13:22 +00:00
parent 7e8d0e0957
commit 13167dfb3f
6 changed files with 8 additions and 66 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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 $
#

View File

@ -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.

View File

@ -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';