From linimon@lonesome.com  Tue May 13 19:28:10 2003
Return-Path: <linimon@lonesome.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 735FC37B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 13 May 2003 19:28:10 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CED0743F75
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 13 May 2003 19:28:09 -0700 (PDT)
	(envelope-from linimon@lonesome.com)
Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.soaustin.net (Postfix) with ESMTP id E84061435F
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 13 May 2003 21:28:08 -0500 (CDT)
Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1])
	by lonesome.lonesome.com (8.12.9/8.12.3) with ESMTP id h4E2VYgZ073132
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 13 May 2003 21:31:35 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.6/Submit) id h4E2VXYB073131;
	Tue, 13 May 2003 21:31:33 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200305140231.h4E2VXYB073131@lonesome.lonesome.com>
Date: Tue, 13 May 2003 21:31:33 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To:
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: [maintainer update] fix fetch and Perl location for net/hinfo
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         52200
>Category:       ports
>Synopsis:       [maintainer update] fix fetch and Perl location for net/hinfo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 19:30:04 PDT 2003
>Closed-Date:    Sun Jun 29 08:36:13 PDT 2003
>Last-Modified:  Sun Jun 29 08:36:13 PDT 2003
>Originator:     Mark Linimon
>Release:        FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	1. The actual MASTER_SITE where the tarball resides is not
	reachable by the FreeBSD build machines.  Grr.  (distfile survey)
	2. The applied patch did not account for perl not being in
	the default location.  (Thanks to Piet Delport <pjd at 303.za.net>
	for the catch and the fix.)
>How-To-Repeat:
	make install
>Fix:

--- hinfo/Makefile.dist	Sun Apr 13 20:09:58 2003
+++ hinfo/Makefile	Tue May 13 21:23:48 2003
@@ -8,8 +8,10 @@
 PORTNAME=	hinfo
 PORTVERSION=	1.0
 CATEGORIES=	net perl5
-MASTER_SITES=	http://www.blars.org/ \
-		http://www.lonesome.com/FreeBSD/distfiles/
+# note: the "true" MASTER_SITE is http://www.blars.org, but
+# due to policies on that site, it is not reachable from the
+# FreeBSD build machines.
+MASTER_SITES=	http://www.lonesome.com/FreeBSD/distfiles/
 
 MAINTAINER=	linimon@lonesome.com
 COMMENT=	Utility primarily designed to find the owner of an IP block
@@ -34,7 +36,7 @@
 # already be patched for you.
 post-extract:
 .for file in ${HINFO_SCRIPTS}
-	${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' ${WRKSRC}/${file}
+	${REINPLACE_CMD} -E '1s|^#!.+|#!${PERL}|' ${WRKSRC}/${file}
 .endfor
 
 do-install:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Sun Jun 29 08:35:30 PDT 2003 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52200 
>Unformatted:
