PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS
Kris Kennaway
kris at obsecurity.org
Wed Oct 12 17:02:02 PDT 2005
On Thu, Oct 13, 2005 at 09:27:43AM +1000, Edwin Groothuis wrote:
> On Wed, Oct 12, 2005 at 07:07:10PM -0400, Kris Kennaway wrote:
> > On Thu, Oct 13, 2005 at 07:12:28AM +1000, Edwin Groothuis wrote:
> > > On Wed, Oct 12, 2005 at 05:17:50PM +0400, Sergey Skvortsov wrote:
> > > > >The syntax is:
> > > > > PERL_BUILD_DEPENDS= MIME-Lite:${PORTSDIR}/mail/p5-MIME-Lite
> > > > >It checks the for the existence of MIME::Lite with the "perl -e
> > > > >'use MIME::Lite'" command.
> > > > Obviously this approach will cause great performance degrade.
> > > > stat(2) is much more faster than loading perl.
> > >
> > > Minimal compared with the time it takes to fetch distfiles and to
> > > build. That's the only time it is checked.
> >
> > What about INDEX builds?
>
> "make index" are multiple "make describe"s. A "make describe" is a
> perl script with two extra variables: prdirs and pbdirs. The splitting
> of PERL_RUN_DEPEND and PERL_BUILD_DEPENDS was first part of the
> split of BUILD_DEPENDS and RUN_DEPENDS.
That doesn't seem to answer the question. Won't you be running
thousands of extra perl invocations during 'make index' when your
patch is fully deployed?
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051012/a5f6eee4/attachment.bin
More information about the freebsd-ports
mailing list