summaryrefslogtreecommitdiff
path: root/lang/perl5-base/pkg
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2001-07-09 17:10:25 +0000
committertv <tv@pkgsrc.org>2001-07-09 17:10:25 +0000
commitd6c0d5882cac889fd7c897de0b4e4a1587866374 (patch)
tree508d438c82508885c51b0541a22e4a250e9bd0a9 /lang/perl5-base/pkg
parentaf82b3856e08d89df38ecffd34ec38068a83ad4e (diff)
downloadpkgsrc-d6c0d5882cac889fd7c897de0b4e4a1587866374.tar.gz
* Make perl stop installing anything in the man3 directory. It's starting
to install things like "open.3" and "lib.3" which confuse users. Perl ships with a documentation tool, "perldoc", for this purpose; create a MESSAGE indicating that it should be used instead. (Perl still installs command line program manual pages in man1.) * Integrate bsd.perl.mk into the perl5-base build where it should have been from the beginning. The separate perl-mk pkg makes binary packages of perl-mk completely useless[*]. Older perl builders will not break, since <bsd.pkg.mk> contains fallback definitions that are evaluated at pkg build time. ===== [*] bsd.perl.mk is tightly bound to the version of perl that is installed. The version name "perl-mk-1.1" is completely useless as a binary pkg, since keeping multiple binary versions of perl on a FTP server means that one of the perl-mk's will get clobbered. However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg is also a problem, because that doesn't necessarily reflect the installed version of perl. Snarfing the installed version at perl-mk build time would be even uglier, since you could not then walk the tree without perl being installed. The cleanest solution is to integrate bsd.perl.mk into the perl5-base pkg, and let those who have not upgraded perl yet use the runtime definitions in <bsd.pkg.mk>.
Diffstat (limited to 'lang/perl5-base/pkg')
-rw-r--r--lang/perl5-base/pkg/MESSAGE11
-rw-r--r--lang/perl5-base/pkg/PLIST3
2 files changed, 13 insertions, 1 deletions
diff --git a/lang/perl5-base/pkg/MESSAGE b/lang/perl5-base/pkg/MESSAGE
new file mode 100644
index 00000000000..7e14e9d7211
--- /dev/null
+++ b/lang/perl5-base/pkg/MESSAGE
@@ -0,0 +1,11 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.1 2001/07/09 17:10:28 tv Exp $
+
+Note: Perl no longer installs manual pages for Perl library functions,
+such as "open" or "Data::Dumper", into section 3 of the system manual
+("man3").
+
+Use the "perldoc" program instead to obtain documentation for Perl
+library functions.
+
+======================================================================
diff --git a/lang/perl5-base/pkg/PLIST b/lang/perl5-base/pkg/PLIST
index a55d821ee30..b9fd9f3f038 100644
--- a/lang/perl5-base/pkg/PLIST
+++ b/lang/perl5-base/pkg/PLIST
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2000/09/06 10:54:36 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2001/07/09 17:10:28 tv Exp $
+share/mk/bsd.perl.mk
@unexec rm -f %D/${PERL5_ARCHLIB}/perllocal.pod