ports/51275: textproc/latex2html PLIST is missing some files

Alan Barrett apb at cequrux.com
Tue Apr 22 11:10:15 UTC 2003


>Number:         51275
>Category:       ports
>Synopsis:       textproc/latex2html PLIST is missing some files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 22 04:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alan Barrett
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Not much
>Environment:
System: FreeBSD 4.8-RELEASE
>Description:
When you install the latex2html-2002.2.1.tgz binary package, it does not
include the ${PREFIX}/lib/latex2html/l2hconf.pm file.  This causes fatal
errors when you try to run latex2html.

>How-To-Repeat:
Check out the FreeBSD ports tree with CVS tag "-rRELEASE_4_8_0", go to
the textproc/latex2html directory, do "make package", copy the resulting
latex2html-2002.2.1.tgz binary package to a clean system, use pkg_add to
add it, and try to run "latex2html somefile.tex"

Observe the following error message:

Fatal (use l2hconf): Can't locate l2hconf.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/share/latex2html) at (eval 2) line 2.
BEGIN failed--compilation aborted at (eval 2) line 2.

>Fix:
Apply the following patch.

Index: textprox/latex2html/Makefile
--- Makefile	20 Feb 2003 19:11:20 -0000	1.29
+++ Makefile	22 Apr 2003 10:52:25 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	latex2html
 PORTVERSION=	2002.2.1
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
 MASTER_SITE_SUBDIR=	support/${PORTNAME}

Index: textproc/latex2html/pkg-plist
--- pkg-plist	25 Oct 2002 02:21:12 -0000	1.4
+++ pkg-plist	22 Apr 2003 10:52:25 -0000
@@ -1,6 +1,8 @@
 bin/latex2html
 bin/pstoimg
 bin/texexpand
+lib/latex2html/cfgcache.pm
+lib/latex2html/l2hconf.pm
 share/doc/latex2html/FAQ
 share/doc/latex2html/INSTALL
 share/doc/latex2html/LICENSE

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list