From owner-freebsd-perl@FreeBSD.ORG Sun Mar 9 07:03:28 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 0F2CD106566B for ; Sun, 9 Mar 2008 07:03:28 +0000 (UTC) (envelope-from leeym@leeym.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id C74938FC16 for ; Sun, 9 Mar 2008 07:03:27 +0000 (UTC) (envelope-from leeym@leeym.com) Received: by an-out-0708.google.com with SMTP id c14so413615anc.13 for ; Sat, 08 Mar 2008 23:03:26 -0800 (PST) Received: by 10.100.242.20 with SMTP id p20mr8351001anh.4.1205046195292; Sat, 08 Mar 2008 23:03:15 -0800 (PST) Received: by 10.100.209.16 with HTTP; Sat, 8 Mar 2008 23:03:15 -0800 (PST) Message-ID: <759236930803082303s105615ffgea2b1f100b304d84@mail.gmail.com> Date: Sat, 8 Mar 2008 23:03:15 -0800 From: "Yen-Ming Lee" To: "Mark Linimon" , "Anton Berezin" , lth@FreeBSD.org In-Reply-To: <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com> 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> <759236930803050928w2f45842fsbb6e74345e85f62b@mail.gmail.com> 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: Sun, 09 Mar 2008 07:03:28 -0000 2008/3/5, Yen-Ming Lee : > [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? > 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