1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/gnu/usr.bin/perl/BSDPAN
Mark Murray 2a7d49a804 - Avoid circular `use Config', which may lead to random synax errors
produced by miniperl during buildworld phase.

- While at it, do loading of SelfLoader only when it is needed, and in
  place where it is needed.

Submitted by:	tobez@tobez.org (who is doing way too much good work
			and is in need of the Commit Bit punishment)
2001-05-02 21:18:32 +00:00
..
BSDPAN - Avoid circular `use Config', which may lead to random synax errors 2001-05-02 21:18:32 +00:00
ExtUtils * Add Config.pm to fight situations when perldoc(1) showed a manual page 2001-05-01 09:25:24 +00:00
BSDPAN.pm - Avoid circular `use Config', which may lead to random synax errors 2001-05-02 21:18:32 +00:00
Config.pm * Add Config.pm to fight situations when perldoc(1) showed a manual page 2001-05-01 09:25:24 +00:00
Makefile * Add Config.pm to fight situations when perldoc(1) showed a manual page 2001-05-01 09:25:24 +00:00
README Commit the first version of BSDPAN. 2001-04-03 18:38:53 +00:00

$FreeBSD$

For importers of the future Perl versions.  BSDPAN operation depends on
the fact it is loaded before system Perl modules.  To achieve this, the
semi-documented (it is described as undocumented in Perl documentation)
define APPLLIB_EXP is used.  Run Perl configure as follows (with other
relevant arguments of course):

   sh Configure -Dccflags='-DAPPLLIB_EXP="/usr/libdata/perl/BSDPAN"'

Since FreeBSD uses its own Makefile to build Perl, it is necessary to
duplicate this as an extra CFLAG.  This resides currently in
gnu/usr.bin/perl/Makefile.inc:

   CFLAGS+=	'-DAPPLLIB_EXP="/usr/libdata/perl/BSDPAN"'

If APPLLIB_EXP ever gets removed from Perl, some other way of putting
/usr/libdata/perl/BSDPAN in the start of @INC must be devised.

-Anton <tobez@tobez.org>