Josef Karthauser f383120181 * Add Config.pm to fight situations when perldoc(1) showed a manual page
for a module overridden by BSDPAN instead of the original module.

* Fix wrong manual section numbers in SEE ALSO.

* Add `Revision 42' to the beer-ware license.  The BSDPAN author did not
  originally get the reference and removed the revision from original
  phk's version.

Submitted by:	Anton Berezin <tobez@tobez.org>
2001-05-01 09:25:24 +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>