about PERL_DEPENDS and PERL_TEST_DEPENDS
Yen-Ming Lee
leeym at leeym.com
Wed Mar 5 17:28:39 UTC 2008
[See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121313]
2008/3/5, Mark Linimon <linimon at 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 at leeym.com>
More information about the freebsd-perl
mailing list