Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 16:33:48 -0800 (PST)
From:      Doug Barton <DougB@FreeBSD.org>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        Jun Kuriyama <kuriyama@imgsrc.co.jp>, Marcel Moolenaar <marcel@xcllnt.net>, ports@FreeBSD.ORG
Subject:   Re: make release failed: /usr/local/bin/perl missing
Message-ID:  <20030309163234.A6284@znfgre.tberna.bet>
In-Reply-To: <20030309153926.4824.qmail@exxodus.fedaykin.here>
References:  <20030306210157.GA678@athlon.pn.xcllnt.net> <7mfzpwpxri.wl@black.imgsrc.co.jp> <20030309153926.4824.qmail@exxodus.fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
I don't understand why perl is necessary for this. cp + sed, or even the
abominable REINPLACE is better than requiring the user to build and
install perl for two lines of sed. PLEASE tell me I'm missing something
here.

Doug


On Sun, 9 Mar 2003, Mario Sergio Fujikawa Ferreira wrote:

> On Sun, Mar 09, 2003 at 08:47:07PM +0900, Jun Kuriyama wrote:
> > At Thu, 6 Mar 2003 21:02:46 +0000 (UTC),
> > Marcel Moolenaar wrote:
> > > I was running a release on pluto2.freebsd.org and it failed as given
> > > below. Clearly perl does not exists in the chroot'd environment and
> > > since it used to work, I suspect that something changed. The sgmlformat
> > > port properly has USE_PERL5, which I suspect is all that's needed if
> > > there's a dependency on perl.
> >
> > Hmm, that may be my fault.  I'll commit this after ports freeze is
> > over.
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /home/ncvs/ports/textproc/sgmlformat/Makefile,v
> > retrieving revision 1.26
> > diff -u -r1.26 Makefile
> > --- Makefile	22 Feb 2003 07:48:50 -0000	1.26
> > +++ Makefile	9 Mar 2003 11:43:24 -0000
> > @@ -41,6 +41,7 @@
> >  MANCOMPRESSED=	yes
> >
> >  .if defined(WITH_OPENJADE)
> > +PATCH_DEPENDS+=	${PERL5}:${PORTSDIR}/lang/perl5
> >  post-patch:
> >  	@${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
> >  	@${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
>
> 	Why not instead?
>
>  .if defined(WITH_OPENJADE)
> +USE_PERL5=	yes
>  post-patch:
>   	@${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
>   	@${PERL} -pi -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c
>
>

-- 

    This .signature sanitized for your protection

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?20030309163234.A6284>