Date: Mon, 23 Jun 1997 17:36:40 -0700 From: Scott Blachowicz <scott@statsci.com> 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 Message-ID: <m0wgJb6-0006uQC@apple.statsci.com> In-Reply-To: Your message of "Mon, 23 Jun 1997 14:10:34 -0700." <199706232110.OAA10377@vader.cs.berkeley.edu> References: <199706232110.OAA10377@vader.cs.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0wgJb6-0006uQC>