diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-12-19 17:05:05 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-12-19 17:05:05 +0000 |
commit | fb226407ee460453e08f0c16d1ed0ff4cfe74ebf (patch) | |
tree | 0e8598e113256b87911f26ff4e0b6f11b2b9af59 /lang/perl5.14/pkg-message | |
parent | c863b8e94ad8b6c357010a9049de0a83407206c3 (diff) |
Unforbid the port for the use of general FreeBSD public.
Compile perl with BSDPAN support, both -current and -stable. The
version of BSDPAN used here coincides accidentally with the one present
in the -current system perl, but is installed in a different place.
Provide a script, use.perl, to facilitate switching of the perl used by
default between the system perl and this port. Also print a message
describing the usage of use.perl (this works for the port and for the
package built from it). The switching to the port version is done by
removing /usr/bin/perl and /usr/bin/suidperl (they both have link count
>1, so this is reversible), and making them to be symlinks to the
corresponding binaries in $PREFIX/bin. Also, assignments of the correct
values of PERL_VER, PERL_VERSION, and PERL_ARCH are appended to
/etc/make.conf. Last, NOPERL=yes is appended to /etc/make.conf, so that
the changes made will survive system upgrades from source. The
switching to the system version is more or less a reverse of the process
described above.
Set and use PERL_ARCH which is independed from the one used by the
system perl.
Fix the port for post-malloc.h -current.
Fix a small bogon when PREFIX was used in pkg-install (PKG_PREFIX should
have been used instead).
Reviewed by: markm, joe
Notes
Notes:
svn path=/head/; revision=51847
Diffstat (limited to 'lang/perl5.14/pkg-message')
-rw-r--r-- | lang/perl5.14/pkg-message | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/perl5.14/pkg-message b/lang/perl5.14/pkg-message new file mode 100644 index 000000000000..e575728b19be --- /dev/null +++ b/lang/perl5.14/pkg-message @@ -0,0 +1,22 @@ +Installation of Perl distribution is finished. Please note, that since +Perl is also in the base system, this distribution will not be used by +default. + +If you want this version of Perl to be used by default, please type + + use.perl port + +Assuming that use.perl script (which was installed with the rest of the +Perl distribution) can be found in your PATH (you might have to type +`rehash' first, depending upon a shell you use), this action will +replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the +versions of these binaries in the Perl distribution. This action will +also put some variables into your /etc/make.conf file, so that newly +installed ports (not packages!) will use new version of perl, and the +system upgrades from the source will not overwrite the changes made. + +At any time you can also type + + use.perl system + +if you wish to revert back to the system version of perl. |