Commit graph

9 commits

Author SHA1 Message Date
Joe Marcus Clarke
3302f9e6ed Respect OSVERSION in the pkg-install script. This allows package building
tinderboxes to do the righ thing reagrding Perl in a chroot/jail environment
regardless of the underlying host OS version.

Approved by:	perl (tobez)
2004-03-05 21:38:03 +00:00
Joe Marcus Clarke
19d711380e Don't run use.perl port by default on recent versions of -CURRENT. 2004-02-04 19:14:29 +00:00
Bruce A. Mah
80afc7818f On recent 5-CURRENT, there is no Perl wrapper. It is therefore possible
that /usr/bin/perl5 doesn't exist, which violates some of use.perl's
assumptions.  Take care of this case. [1]

Also in the case of a recent 5-CURRENT, automatically perform
"use.perl port" during package/port installation.  This helps the
installation of sysinstall's new "Perl distribution", in that
sysinstall doesn't need to do this explicitly as Yet Another Special
Case. [2]

PORTREVISION bump after all this good stuff.

Requested by:	bmah [1], jhb [2]
Submitted by:	tobez (port MAINTAINER)
Approved by:	portmgr (kris)
2002-12-04 16:50:04 +00:00
Anton Berezin
fb226407ee 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
2001-12-19 17:05:05 +00:00
Anton Berezin
dc7016253b Fix wrong directory name.
PR:		28462
OK'ed by:	markm
2001-06-29 16:43:51 +00:00
Mark Murray
47329499f6 Update for Perl 5.6.1.
As before, this is a "guru only" port. If you know what you are
doing, go ahead and use it. If not - HANDS OFF!

Perl 5.6.1 will be committed to "base" FreeBSD in a week or 2.
2001-04-10 19:57:49 +00:00
Mark Murray
797ed92386 Upgrade this to perl5.6.0 for _knowledgeable_ folks in STABLE who
really want it.

This is still marked FORBIDDEN as there may be all sorts of horrible
incompatabilities with the perl5 in "base", but folks who are willing
to override this and experiment are welcome.

Consider this to be only partially supported. I'll happily commit
patches and fixes, but I don't want to answer too many questions.

Sorry!
2001-03-22 15:17:46 +00:00
Andrey A. Chernov
e5075774e4 create needed directories before making .ph files 1998-08-07 14:16:20 +00:00
Andrey A. Chernov
517e01713a generate .ph files on package install now 1998-08-07 12:33:29 +00:00