Date: Sat, 8 Mar 2008 23:03:15 -0800 From: "Yen-Ming Lee" <leeym@leeym.com> To: "Mark Linimon" <linimon@lonesome.com>, "Anton Berezin" <tobez@tobez.org>, lth@FreeBSD.org Cc: perl@freebsd.org Subject: Re: about PERL_DEPENDS and PERL_TEST_DEPENDS Message-ID: <759236930803082303s105615ffgea2b1f100b304d84@mail.gmail.com> In-Reply-To: <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com> References: <759236930803040921g2a8b0939se8a631123f1b4926@mail.gmail.com> <20080305170139.GB521@soaustin.net> <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/3/5, Yen-Ming Lee <leeym@leeym.com>: > [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? > 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... [deleted] > 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. Hi, tobez@ and lth@, Since you mentioned that you plan to achieve the same goal about PERL_DEPENDS and PERL_TEST_DEPENDS, what's your planed implementation? Hopefully it will be less expensive. linimon@ and other developers on perl@, I still think it's an interesting features to handle the perl dependency, otherwise we will have either a over-simplified dependency ... RUN_DEPENDS= a lot of ports dependency here including some dual-life modules and some only-for-tests modules or a super-complex dependency ... .if ${PERL_LEVEL} < 500808 RUN_DEPENDS+= ..... .endif .if ${PERL_LEVEL} < 500900 RUN_DEPENDS+= ..... .endif .if ${PERL_LEVEL} < 500902 RUN_DEPENDS+= ..... .endif Thanks, -- Yen-Ming Lee <leeym@leeym.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?759236930803082303s105615ffgea2b1f100b304d84>