From owner-freebsd-ports Mon Jun 23 17:37:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA10655 for ports-outgoing; Mon, 23 Jun 1997 17:37:46 -0700 (PDT) Received: from cliffy.statsci.com (root@cliffy.statsci.com [206.63.206.72]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA10647 for ; Mon, 23 Jun 1997 17:37:43 -0700 (PDT) Received: from apple.statsci.com (apple [206.63.206.4]) by cliffy.statsci.com (8.8.6/8.8.6/Hub) with SMTP id RAA20078; Mon, 23 Jun 1997 17:36:41 -0700 Received: from apple.statsci.com [206.63.206.4] with smtp by apple.statsci.com with smtp (/\oo/\ Smail3.1.29.1 #29.3 #3) id m0wgJb6-0006uQC; Mon, 23 Jun 97 17:36 PDT Message-Id: X-Mailer: exmh version 2.0gamma 1/27/96 To: asami@cs.berkeley.edu (Satoshi Asami) cc: roberto@keltia.freenix.fr, james@nexis.net, freebsd-ports@hub.freebsd.org Subject: Re: ports/3936: perl 5.004_01 is already available References: <199706232110.OAA10377@vader.cs.berkeley.edu> In-reply-to: Your message of "Mon, 23 Jun 1997 14:10:34 -0700." <199706232110.OAA10377@vader.cs.berkeley.edu> From: Scott Blachowicz Reply-to: scott@statsci.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 23 Jun 1997 17:36:40 -0700 Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami@cs.berkeley.edu (Satoshi Asami) wrote: > @@ -304,7 +305,11 @@ > RUN_DEPENDS+= ${EXEC_DEPENDS} > .endif > .if defined(USE_GMAKE) > -BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake > +BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake > +.endif > +.if defined(USE_PERL5) > +BUILD_DEPENDS+= perl5.00401:${PORTSDIR}/lang/perl5 > +RUN_DEPENDS+= perl5.00401:${PORTSDIR}/lang/perl5 > .endif Why not use this: BUILD_DEPENDS+= perl5:${PORTSDIR}/lang/perl5 RUN_DEPENDS+= perl5:${PORTSDIR}/lang/perl5 and make sure that the lang/perl5 port installs a 'perl5' link. Then you won't even have to change bsd.port.mk for the next perl5 update that you want to use in the p5-* ports. Or use some setting that runs the equivalent of this: cd ${PREFIX}/bin; ls -t perl5.* | head -1 to derive the latest available perl5 installed on the system? Or should it use some other make variable that could, possibly, be set in /etc/make.conf (or whatever) for the name of the perl5 to use? Scott Blachowicz Ph: 206/283-8802x240 Mathsoft (Data Analysis Products Div) 1700 Westlake Ave N #500 scott@statsci.com Seattle, WA USA 98109 Scott.Blachowicz@seaslug.org