freebsd-dev/gnu/usr.bin/perl/BSDPAN/README
Josef Karthauser d3b6c99818 Commit the first version of BSDPAN.
BSDPAN is the collection of modules that provides tighter than ever
integration of Perl into BSD Unix.

Currently, BSDPAN does the following:

o makes p5- FreeBSD ports PREFIX-clean;

o registers Perl modules in the FreeBSD package database with a
  package name derived from the module name.
  The name is of the form: bsdpan-ModuleName-V.VV.

Anyone interested in where BSDPAN is developing should read Anton's
message to the ports mailling list:
	Message-ID: <20010105040828.A26011@heechee.tobez.org>

Submitted by:	Anton Berezin <tobez@tobez.org>
2001-04-03 18:38:53 +00:00

21 lines
778 B
Plaintext

$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>