Date: Wed, 5 Mar 2008 09:28:37 -0800 From: "Yen-Ming Lee" <leeym@leeym.com> To: "Mark Linimon" <linimon@lonesome.com> Cc: perl@FreeBSD.org Subject: Re: about PERL_DEPENDS and PERL_TEST_DEPENDS Message-ID: <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com> In-Reply-To: <20080305170139.GB521@soaustin.net> References: <759236930803040921g2a8b0939se8a631123f1b4926@mail.gmail.com> <20080305170139.GB521@soaustin.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121313] 2008/3/5, Mark Linimon <linimon@lonesome.com>: > 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 <leeym@leeym.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?759236930803050928w2f45842fsbb6e74345e85f62b>