Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 2009 01:09:06 GMT
From:      Sevan Janiyan <venture37@geeklan.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142151: [patch] ports-mgmt/portcheckout to use variables instead of direct references
Message-ID:  <200912300109.nBU196G4048678@www.freebsd.org>
Resent-Message-ID: <200912300110.nBU1A3Tf016261@freefall.freebsd.org>

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

>Number:         142151
>Category:       ports
>Synopsis:       [patch] ports-mgmt/portcheckout to use variables instead of direct references
>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:   Wed Dec 30 01:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sevan Janiyan
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/portcheckout/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	5 Feb 2007 01:08:29 -0000	1.12
+++ Makefile	30 Dec 2009 01:03:54 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	portcheckout
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://wolfram.schneider.org/src/
 
@@ -19,6 +20,6 @@
 PLIST_FILES=	bin/portcheckout
 
 post-patch:
-	perl -pi -e 's^\#\!/usr/local/bin/perl^#!${PERL5}^' ${WRKSRC}/portcheckout.pl
+	${PERL} -pi -e 's^\#\!${PREFIX}/bin/perl^#!${PERL5}^' ${WRKSRC}/portcheckout.pl
 
 .include <bsd.port.mk>


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



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