Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2003 11:51:52 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        Jun Kuriyama <kuriyama@imgsrc.co.jp>, ports@FreeBSD.org
Subject:   Re: make release failed: /usr/local/bin/perl missing
Message-ID:  <20030309195152.GA551@dhcp01.pn.xcllnt.net>
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
On Sun, Mar 09, 2003 at 12:39:04PM -0300, Mario Sergio Fujikawa Ferreira wrote:
> > 
> > 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

But USE_PERL5 is set unconditionally on line 37 in the makefile.
If that is enough to trigger a build of the perl5 port then we
have a problem outside this port. Otherwise we really need to use
PATCH_DEPENDS. This however seems redundant if you have USE_PERL5
already.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

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?20030309195152.GA551>