From owner-freebsd-perl@FreeBSD.ORG Tue Jun 29 12:47:08 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77ABF16A4CE; Tue, 29 Jun 2004 12:47:08 +0000 (GMT) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BA2343D46; Tue, 29 Jun 2004 12:47:07 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 3D5AE175A9; Tue, 29 Jun 2004 14:47:02 +0200 (CEST) Date: Tue, 29 Jun 2004 14:47:02 +0200 From: Anton Berezin To: parv@pair.com Message-ID: <20040629124702.GA51922@heechee.tobez.org> Mail-Followup-To: Anton Berezin , parv@pair.com, FreeBSD-gnats-submit@FreeBSD.org, perl@FreeBSD.org References: <20040629062011.9338F5876@default.chvlva.adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040629062011.9338F5876@default.chvlva.adelphia.net> User-Agent: Mutt/1.5.6i cc: perl@FreeBSD.org cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/68468: PATCH - www/p5-Template-Toolkit: post-patch broken wrt $LOCALBASE is not always /usr/local X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 12:47:08 -0000 On Tue, Jun 29, 2004 at 02:20:11AM -0400, parv@pair.com wrote: > As ${LOCALBASE} cannot be always guaranteed to be '/usr/local' -- the > hard coded value in Makefile.PL of TT -- change it to the real value. > No problem occurred w/ deinstall-ing, reinstall-ing, and packag-ing > after the follwing patch for www/p5-Template-Toolkit/Makefile ... > > --- Makefile.old Tue Jun 29 02:10:06 2004 > +++ Makefile Tue Jun 29 02:03:08 2004 > @@ -119,7 +119,7 @@ > Template::View.3 > > post-patch: > - ${PERL} -pi -e 's,${LOCALBASE}/tt2,${PREFIX}/share/tt2,g' \ > + ${PERL} -pi -e 's,/usr/local/tt2,${PREFIX}/share/tt2,g' \ > ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} > > .if ${PERL_LEVEL} >= 500800 Yeah. The reverse to your patch was introduced in rev. 1.4 of the Makefile with a comment "Satisfy portlint". \Anton. -- Floating point will almost always have enough precision for the task at hand, and by the time it doesn't, it will. :-) -- Larry Wall