Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 13:41:01 -0800 (PST)
From:      David Wolfskill <david@catwhisker.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        q@uni.de
Subject:   ports/47272: Update port: astro/gpsman remove hidden Perl dependency
Message-ID:  <200301202141.h0KLf1Tl001272@bunrab.catwhisker.org>

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

>Number:         47272
>Category:       ports
>Synopsis:       Update port: astro/gpsman remove hidden Perl dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 13:50:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Wolfskill
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Wolfskill & Dowling Residence
>Environment:
System: FreeBSD bunrab.catwhisker.org 4.7-STABLE FreeBSD 4.7-STABLE #32: Sun Jan 12 05:46:52 PST 2003 root@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/BUNRAB i386


>Description:
	q@uni.de pointed out to me that the astro/gpsman Makefile
	contains a hidden Perl dependency, and provided a suggested fix.
>How-To-Repeat:
	grep -i perl astro/gpsman/Makefile
>Fix:

The below patch seems to work in my testing:

Index: Makefile
===================================================================
RCS file: /cvs/freebsd/ports/astro/gpsman/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	10 Feb 2002 09:46:09 -0000	1.2
+++ Makefile	20 Jan 2003 21:10:37 -0000
@@ -13,6 +13,7 @@
 		${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	science/cartography
 EXTRACT_SUFX=	.tgz
+USE_REINPLACE=	yes
 
 MAINTAINER=	david@catwhisker.org
 
@@ -24,7 +25,7 @@
 # MANCOMPRESSED=	yes
 
 pre-install:
-	@${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
+	@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
 
 do-install:
 	@${MKDIR} ${PREFIX}/share/gpsman

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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