Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 21:46:58 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        howeyc@gmail.com
Subject:   ports/157181: [PATCH] sysutils/parallel: use PERL instead of hardcoded /usr/bin/perl
Message-ID:  <20110519134659.01DD2273E@sunpoet.net>
Resent-Message-ID: <201105191350.p4JDo96f041089@freefall.freebsd.org>

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

>Number:         157181
>Category:       ports
>Synopsis:       [PATCH] sysutils/parallel: use PERL instead of hardcoded /usr/bin/perl
>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:   Thu May 19 13:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Mar 30 10:30:31 CST 2011
>Description:
- Use ${PERL} instead of hardcoded /usr/bin/perl
  Users who do not run use.perl when installing lang/perl5.* do not have
  /usr/bin/perl. Therefore the build fails.

Port maintainer (howeyc@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- parallel-20110422_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/parallel/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	8 May 2011 06:43:06 -0000	1.12
+++ Makefile	19 May 2011 13:42:48 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	parallel
 PORTVERSION=	20110422
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
@@ -27,6 +28,7 @@
 PORTDOCS=	parallel.html sem.html sql.html niceload.html
 
 post-patch:
+	@${REINPLACE_CMD} -e '1 s|/usr/bin/perl|${PERL}|' ${WRKSRC}/src/parallel
 .if defined(NOPORTDOCS)
 	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-docDATA||' ${WRKSRC}/src/Makefile.in
 .endif
--- parallel-20110422_1.patch ends here ---

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



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