Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: source-changes
Date: 08/27/2000 05:15:49
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Aug 27 02:15:49 UTC 2000

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
Changes for building dynamic PLIST for perl packages:

    * Add a PERL5 variable that is always defined, set to the path of a
      pkgsrc-installed perl5 binary (${LOCALBASE}/bin/perl).

    * Define three new variables PERL5_SITELIB, PERL5_SITEARCH, and
      PERL5_ARCHLIB that define special locations used by perl.  In
      particular, it seems packlists are always found under PERL5_SITEARCH.

    * Substitute the above three variables when generating PLISTs, but
      stripping away the initial ${LOCALBASE}/ part.  This is for perl
      packages which don't generate packlists because they don't use the
      perl Makefile generator during the build process.

    * Append to the PLIST any files listed in the packlists named by
      PERL5_PACKLIST.  Also append statements to try removing the
      directories installed into by the packlist-ed files.


To generate a diff of this commit:
cvs rdiff -r1.550 -r1.551 pkgsrc/mk/bsd.pkg.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.