Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2005 17:17:50 +0400
From:      Sergey Skvortsov <skv@protey.ru>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@freebsd.org
Subject:   Re: PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS
Message-ID:  <434D0CFE.9090007@protey.ru>
In-Reply-To: <20051012114222.GD1278@k7.mavetju>
References:  <20051012114222.GD1278@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis 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.

-- 
Sergey Skvortsov
mailto: skv@protey.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?434D0CFE.9090007>