From k@numeri.campus.luth.se Sun Jun 27 04:47:36 1999
Return-Path: <k@numeri.campus.luth.se>
Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103])
	by hub.freebsd.org (Postfix) with ESMTP id 03E4014C08
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Jun 1999 04:47:34 -0700 (PDT)
	(envelope-from k@numeri.campus.luth.se)
Received: (from k@localhost)
	by numeri.campus.luth.se (8.9.3/8.9.3) id NAA68895;
	Sun, 27 Jun 1999 13:47:33 +0200 (CEST)
	(envelope-from k)
Message-Id: <199906271147.NAA68895@numeri.campus.luth.se>
Date: Sun, 27 Jun 1999 13:47:33 +0200 (CEST)
From: Johan Karlsson <k@numeri.campus.luth.se>
Reply-To: k@numeri.campus.luth.se
To: FreeBSD-gnats-submit@freebsd.org
Subject: latex2html port asume perl is in /usr/local/bin
X-Send-Pr-Version: 3.2

>Number:         12410
>Category:       ports
>Synopsis:       latex2html port asume perl is in /usr/local/bin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 04:50:00 PDT 1999
>Closed-Date:    Sun Jun 27 23:03:50 PDT 1999
>Last-Modified:  Mon Jun 28 03:00:02 PDT 1999
>Originator:     Johan Karlsson
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

	

>Description:
 	The latex2html port in $(PORTS)/textproc asume that perl is located in 
	/usr/local/bin. 
	
	head -n 1 `which latex2html` gives #!/usr/local/bin/perl 
 	which should be #!/usr/bin/perl on a new system with perl 
	in the base system.	

	I don't know the correct way to fix this. I guess that $(PERL) 
	should be used somehow, but where? 

>How-To-Repeat:

	

>Fix:
	
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cpiazza 
State-Changed-When: Sun Jun 27 23:03:50 PDT 1999 
State-Changed-Why:  
Fixed, thanks! 

From: Johan Karlsson <Johan.Karlsson@sm.luth.se>
To: freebsd-gnats-submit@freebsd.org, k@numeri.campus.luth.se,
	cpiazza@freebsd.org
Cc:  
Subject: Re: ports/12410: latex2html port asume perl is in /usr/local/bin
Date: Mon, 28 Jun 1999 11:52:06 +0200

 When trying to run after a fresh install, I noted that there are more
 places this needs to be done in this port.
 
 Here is a diff (which _is_ cut-n-pasted):
 
 *** Makefile.orig       Mon Jun 28 11:40:15 1999
 --- Makefile    Mon Jun 28 11:44:17 1999
 ***************
 *** 27,32 ****
 --- 27,38 ----
   
   post-patch:
         @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/latex2html
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/configure-pstoimg
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/install-test
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/makemap
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/pstoimg
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/pstoimg_nopipes
 +       @${PERL} -pi -e 's:/usr/local/bin/perl:${PERL}:'
 ${WRKSRC}/texexpand
   
   do-install:
         @${MKDIR} ${PREFIX}/share/latex2html
 
 
 /Johan
 -- 
 Johan Karlsson              Phone : +46 (0)920 720 16 
 Systemteknik, Datalogi      Fax   : +46 (0)920 721 91 
 Lule Tekniska Universitet  E-mail: Johan.Karlsson@SM.LuTH.SE
 S-971 87 LULE, SWEDEN
 
>Unformatted:
