Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 18:24:34 -0700 (PDT)
From:      Paul Marquis <pmarquis@pobox.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39749: Update port: devel/bugzilla - ${PERL} -> ${REINPLACE_CMD}   
Message-ID:  <200206240124.g5O1OYdk040642@www.freebsd.org>

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

>Number:         39749
>Category:       ports
>Synopsis:       Update port: devel/bugzilla - ${PERL} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 18:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Marquis
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 10:04:43 EDT 2002     pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY  i386

>Description:
Replace ${PERL} with ${REINPLACE_CMD}.

Could someone also look at PR 39041, submitted by me, which is an update of this port to 2.14.2.  The maintainer hasn't responded in over two weeks.
>How-To-Repeat:

>Fix:
diff -Naur bugzilla.orig/Makefile bugzilla/Makefile
--- bugzilla.orig/Makefile	Tue Jan  8 06:07:43 2002
+++ bugzilla/Makefile	Sun Jun 23 21:16:58 2002
@@ -19,6 +19,8 @@
 		${PERL_SITEDIR}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql \
 		${PERL_SITEDIR}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
 
+USE_REINPLACE=	yes
+
 .if !defined(WITHOUT_BUG_CHARTING_MODULES)
 RUN_DEPENDS+=	${PERL_SITEDIR}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD \
 		${PERL_SITEDIR}/Chart/Base.pm:${PORTSDIR}/graphics/p5-chart
@@ -65,11 +67,11 @@
 	@find ${WRKSRC} -name README.docs -type f -exec ${RM} -f {} \;
 	@find ${WRKSRC} -name \*.orig -type f -exec ${RM} -f {} \;
 .for i in ${BONSAIPERLWC}
-	@${PERL} -pi -e 's@#!/usr/bonsaitools/bin/perl@#!/usr/bin/perl@' \
+	@${REINPLACE_CMD} -e 's@#!/usr/bonsaitools/bin/perl@#!/usr/bin/perl@' \
 		${WRKSRC}/$i
 .endfor
 .for i in ${SENDMAILWC}
-	@${PERL} -pi -e 's@/usr/lib/sendmail@/usr/sbin/sendmail@' \
+	@${REINPLACE_CMD} -e 's@/usr/lib/sendmail@/usr/sbin/sendmail@' \
 		${WRKSRC}/$i
 .endfor
 

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

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




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