Date: Tue, 29 Jun 2004 14:47:02 +0200 From: Anton Berezin <tobez@tobez.org> To: parv@pair.com 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 Message-ID: <20040629124702.GA51922@heechee.tobez.org> In-Reply-To: <20040629062011.9338F5876@default.chvlva.adelphia.net> References: <20040629062011.9338F5876@default.chvlva.adelphia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040629124702.GA51922>