From owner-freebsd-perl@FreeBSD.ORG Wed Mar 5 17:28:39 2008 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AED61065674 for ; Wed, 5 Mar 2008 17:28:39 +0000 (UTC) (envelope-from leeym@leeym.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id E31FD8FC23 for ; Wed, 5 Mar 2008 17:28:38 +0000 (UTC) (envelope-from leeym@leeym.com) Received: by fg-out-1718.google.com with SMTP id 16so1424312fgg.35 for ; Wed, 05 Mar 2008 09:28:37 -0800 (PST) Received: by 10.86.95.20 with SMTP id s20mr3266877fgb.6.1204738117290; Wed, 05 Mar 2008 09:28:37 -0800 (PST) Received: by 10.86.63.3 with HTTP; Wed, 5 Mar 2008 09:28:37 -0800 (PST) Message-ID: <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com> Date: Wed, 5 Mar 2008 09:28:37 -0800 From: "Yen-Ming Lee" To: "Mark Linimon" In-Reply-To: <20080305170139.GB521@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <759236930803040921g2a8b0939se8a631123f1b4926@mail.gmail.com> <20080305170139.GB521@soaustin.net> Cc: perl@FreeBSD.org Subject: Re: about PERL_DEPENDS and PERL_TEST_DEPENDS X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 17:28:39 -0000 [See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121313] 2008/3/5, Mark Linimon : > While this is interesting functionality, this would result in a terrible > slowdown in e.g. bulding the ports INDEX -- this would nearly double the > line size of bsd.*.mk, not to mention the time involved to do the string- > bashing. > > Surely there is a less expensive way of achieving the same result? > > mcl Yes, but "bsd.perl.core.mk" will only be loaded if PERL_DEPENDS is defined, also it will ony load the values based on the value of PERL_LEVEL. Surely it will slow down the build time, but it only affect p5-*, and in my experience it's not that bad. Of course building one port and building whole ports tree are different cases... The numbers of _perl_core_XXXX defined based on PERL_LEVEL are: 50 500000 56 500100 77 500200 98 500370 131 500400 144 500450 173 500500 174 500530 177 500540 215 500600 221 500601 245 500602 316 500703 334 500800 354 500801 353 500802 355 500803 361 500804 362 500805 362 500806 357 500807 365 500808 357 500900 364 500901 362 500902 447 500903 480 500904 532 500905 537 501000 Note: I incorrectly put "500100" for 5.10 (which should be "501000"), the latest version of perl and the next version of perl on FreeBSD, in my "bsd.perl.core.mk", I'll provide the correct data later if needed. It's my implementation to "maintains a little database for dual-life modules", maybe tobez@ and lth@ or other developers on perl@ will have better solutions to do so. Thanks, -- Yen-Ming Lee