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

next in thread | previous in thread | raw e-mail | index | archive | help
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

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