From owner-freebsd-ports Sun Mar 9 11:52:18 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A007C37B401; Sun, 9 Mar 2003 11:52:16 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1932B43FB1; Sun, 9 Mar 2003 11:52:07 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.8/8.12.8) with ESMTP id h29Jq0Sd035352; Sun, 9 Mar 2003 11:52:00 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h29JpxRw000598; Sun, 9 Mar 2003 11:51:59 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h29Jpq5m000597; Sun, 9 Mar 2003 11:51:52 -0800 (PST) (envelope-from marcel) Date: Sun, 9 Mar 2003 11:51:52 -0800 From: Marcel Moolenaar To: Mario Sergio Fujikawa Ferreira Cc: Jun Kuriyama , ports@FreeBSD.org Subject: Re: make release failed: /usr/local/bin/perl missing Message-ID: <20030309195152.GA551@dhcp01.pn.xcllnt.net> References: <20030306210157.GA678@athlon.pn.xcllnt.net> <7mfzpwpxri.wl@black.imgsrc.co.jp> <20030309153926.4824.qmail@exxodus.fedaykin.here> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030309153926.4824.qmail@exxodus.fedaykin.here> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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