ports/68468: PATCH - www/p5-Template-Toolkit: post-patch broken
wrt $LOCALBASE is not always /usr/local
Anton Berezin
tobez at tobez.org
Tue Jun 29 05:47:08 PDT 2004
On Tue, Jun 29, 2004 at 02:20:11AM -0400, parv at 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
More information about the freebsd-perl
mailing list