Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 13:20:38 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        ports@FreeBSD.org
Subject:   Re: make release failed: /usr/local/bin/perl missing
Message-ID:  <20030309162100.5427.qmail@exxodus.fedaykin.here>
In-Reply-To: <7mel5gplry.wl@black.imgsrc.co.jp>
References:  <20030306210157.GA678@athlon.pn.xcllnt.net> <7mfzpwpxri.wl@black.imgsrc.co.jp> <20030309153926.4824.qmail@exxodus.fedaykin.here> <7mel5gplry.wl@black.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 10, 2003 at 01:06:03AM +0900, Jun Kuriyama wrote:
> At Sun, 9 Mar 2003 12:39:04 -0300,
> Mario Sergio Fujikawa Ferreira wrote:
> >  .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
> 
> $PERL is required at post-patch stage.  But $USE_PERL5 defines
> {BUILD,RUN}_DEPENDS on perl.

	It is only required at post-patch? Change those lines
to REINPLACE_CMD then remove PERL5 dependency once and for all. :)

USE_REINPLACE=yes
post-patch:
	@${REINPLACE_CMD} -E -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl
	@${REINPLACE_CMD} -E -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c

	This should do it.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

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?20030309162100.5427.qmail>