Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2003 21:31:33 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52200: [maintainer update] fix fetch and Perl location for net/hinfo
Message-ID:  <200305140231.h4E2VXYB073131@lonesome.lonesome.com>
Resent-Message-ID: <200305140230.h4E2U4gR068761@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 19:30:04 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305140231.h4E2VXYB073131>