From nathan@limbo.rtfm.net  Mon May  4 12:13:20 1998
Received: from limbo.rtfm.net (nathan@rtfm.net [204.141.125.38])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02888
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 4 May 1998 12:13:14 -0700 (PDT)
          (envelope-from nathan@limbo.rtfm.net)
Received: (from nathan@localhost)
	by limbo.rtfm.net (8.8.8/8.8.8) id PAA05510;
	Mon, 4 May 1998 15:11:54 -0400 (EDT)
Message-Id: <199805041911.PAA05510@limbo.rtfm.net>
Date: Mon, 4 May 1998 15:11:54 -0400 (EDT)
From: nathan@rtfm.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] latex-98.01 port fails to build
X-Send-Pr-Version: 3.2

>Number:         6515
>Category:       ports
>Synopsis:       [patch] latex-98.01 port fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mph
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May  4 12:20:01 PDT 1998
>Closed-Date:    Tue May 5 00:05:19 EDT 1998
>Last-Modified:  Tue May  5 00:07:13 EDT 1998
>Originator:     Nathan Dorfman
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
RTFM.net
>Environment:

	FreeBSD-current ports tree as of yesterday;
	latex-98.01 port;
	teTeX-0.4 (already installed)

>Description:

	The makefile tries to run tex --ini. TeX doesn't understand
	the option and fails with a "cannot load file --ini" option.

>How-To-Repeat:

	make build in /usr/ports/print/latex

>Fix:

	I'm assuming that "tex --ini" is supposed to do what initex
	does. In any case, this seems to build correctly.

*** Makefile	Mon May  4 15:01:04 1998
--- Makefile.old	Mon May  4 15:00:41 1998
***************
*** 22,30 ****
  MANUAL_PACKAGE_BUILD=	has to be built with tex port
  
  do-build:
! 	(cd ${WRKSRC}/base; initex unpack.ins)
  	(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
! 		initex latex.ltx </dev/null)
  	(cd ${WRKSRC}/packages/tools; TEXFORMATS=${WRKSRC}/base:; \
  		TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
  		 ln -sf ${PREFIX}/bin/tex latex; ./latex tools.ins)
--- 22,30 ----
  MANUAL_PACKAGE_BUILD=	has to be built with tex port
  
  do-build:
! 	(cd ${WRKSRC}/base; tex --ini unpack.ins)
  	(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
! 		tex --ini latex.ltx </dev/null)
  	(cd ${WRKSRC}/packages/tools; TEXFORMATS=${WRKSRC}/base:; \
  		TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\
  		 ln -sf ${PREFIX}/bin/tex latex; ./latex tools.ins)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mph 
State-Changed-When: Tue May 5 00:05:19 EDT 1998 
State-Changed-Why:  
Closed at user request.  Problem was installing LaTeX after teTeX, since 
teTeX includes LaTeX.  However, submitter indicated that the DESCR for 
teTeX was unclear on this point, so I made it more explicit that it includes 
LaTeX and other useful TeXary. 


Responsible-Changed-From-To: freebsd-ports->mph 
Responsible-Changed-By: mph 
Responsible-Changed-When: Tue May 5 00:05:19 EDT 1998 
Responsible-Changed-Why:  
>Unformatted:
