Perl is a language that combines some of the features of C, sed, awk and
shell. See the manual page for more hype. There are also many books
published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
WWW: http://perl.com/
- MarkM
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav)
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.
Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.
PR: 100555
Submitted by: gabor
Sponsored by: Google Summer of Code 2006
Don't use "." in MASTER_SITE_SUBDIR; it only applies to URLs with
%SUBDIR% in them, and the site that needed the "." doesn't.
Approved by: Anton Berezin <tobez@tobez.org> (MAINTAINER)
If one of locale-related variables set to a bad value in the user's
environment (like da_DK.ISO_8859-15 as opposed to da_DK.ISO8859-15 on
-CURRENT), perl ports cannot be built. While this condition clearly is
an operator error, it is still no excuse for the build failure.
Fix that by cleaning locale-related variables for configure and build
steps. No plist changes, no portrevision bump.
Reported by: Flemming Jacobsen <fj quite-at batmule maybe-dot dk>
Update bsd.port.mk's notion of the perl version (to 5.8.6) [1].
Use more correct OSVERSION threshold to distinguish between
base system perl and perl from ports - the right value is 500036 [1].
Also, simplify OSVERSION-related logic in lang/perl5 and lang/perl5.8.
Now it goes as follows:
- for lang/perl5.8, if there is perl in the base system, install
use.perl script, use a helpful pkg-message, and do not automatically
update symlinks;
- for lang/perl5.8, if there is no perl in the base system, do not
install use.perl script, and update symlinks automatically;
- for lang/perl5, always install use.perl;
- for lang/perl5, never update symlinks automatically;
- for lang/perl5, vary produced pkg-message depending on the presence of
the base system perl.
Bump PORTREVISION for both lang/perl5 and lang/perl5.8.
[1] Approved by: portmgr
Update to 5.6.2. Also:
- redirect output from h2ph to /dev/null [1];
- fix File::Path insecure file/directory permissions [2];
this resolves CAN-2004-0452
(http://vuxml.freebsd.org/c418d472-6bd1-11d9-93ca-000a95bc6fae.html);
- for OSVERSION < 500036, create symlinks in /usr/bin not only for
perl and suidperl, but also for a2p, c2ph, find2perl, h2ph, h2xs,
perlbug, perlcc, perldoc, pl2pm, pod2html, pod2latex, pod2man,
pod2text, s2p, and splain; perl and suidperl are still enough for
more recent FreeBSD versions [3];
- clean up created symlinks upon deinstallation [4];
- try to cleanup symlinks created by older versions of lang/perl5 and
lang/perl5.8, during both installation and deinstallation [5];
- added support for DISABLE_BSDPAN environment variable [6];
(Only the first 15 lines of the commit message are shown above )
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)
Add a patch to properly escape generated action attribute in
CGI::start_form. The escape code is taken from CGI.pm v.3.00.
PR: 57391
Reported by: IIJIMA Hiromitsu <delmonta@ht.sakura.ne.jp>
Under certain conditions, perl's configure script could pick a directory
other than ${LOCALBASE}/bin to install its scripts (h2ph, perldoc, and
friends) to. Fix that.
PR: 51350
Reported by: Oliver Brandmueller <ob@gruft.de>
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)
Make perl's configure be aware of gcc command line syntax change from
-Acpu(i386) to -Acpu=i386 and similar.
The patch is from Perlland:
http://archive.develooper.com/perl5-porters@perl.org/msg79350.html
While at it, add $ FreeBSD $ to the rest of the patches.
Reported by: kuriyama
Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.
Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
Add two knobs:
WITH_PERL_MALLOC - to compile with perl's own malloc, as opposed to the
freebsd system malloc. Some might find this useful, since perl's malloc
is marginally faster in typical cases, and orders of magnitude faster in
degenerate cases. Use with care.
WITH_GDBM - to compile with gdbm support.
Requested by: netchild (WITH_PERL_MALLOC),
Joachim Leidinger <jojo@blackpoint.de> (WITH_GDBM)
1. Merge from src/contrib/perl5/lib/ExtUtils/Attic/Install.pm rev. 1.2:
Force installs. This is to allow (semi-)automatic garbage removal by
"find /usr/libdata -ctime -N -delete".
Well - substitute /usr/libdata with /usr/local/lib/perl5 here.
Requested by: sheldonh
2. Do not link with libbind even if Configure detects it. A particular
reason for that is that perl's getpw* stop working with NIS.
Reported by: Russell Cattelan <cattelan@thebarn.com>
1. Do not do rm -rf as a mean to deinstall this port. Instead, apart
from normal rmdir'ing and unexec rmdir'ing, do a find | xargs rm for
generated .ph files, since those will differ in different versions of
FreeBSD just like .h files may not be the same.
2. Install.pm is broken in 5.6.1 and leads to the wrong .packlist
generation, which, in turn, breaks BSDPAN. Fix that.
3. Extend use.perl to patch /etc/manpath.config so that manpages for
modules installed by this and other p5- ports are be available.
PR: 39108 (item 1)
Reported by: Dan Nelson <dan@dan.emsphone.com> (item 1)
Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@INC array. This takes care of the infamous problem of updating the
packages already in the perl distribution. With this change, no tricks
are any longer necessary for such p5 ports, except the usual tweaking of
INSTALLDIRS in Makefile.PL. This last one can also be taken care of by
an appropriate BSDPAN modifications, but until we have the `natural'
@INC order in the 4.X base system perl, it is meaningless.
Do not include iconv.h and do not link with libiconv. Iconv is not used
by perl in any way currently, but it used to link it if found.
Fix perl on freebsd/sparc64.
PR: 33212 (iconv), 37605 (iconv), 38813 (sparc64)
Reported by: Vivek Khera <khera@kciLink.com> (iconv),
Martin Nilsson <martin@gneto.com> (iconv)
Submitted by: jake (sparc64)
Use a cleaner, documented way to obtain the path of BSDPAN. This fixes
the problems with threaded perl build. The threaded perl is curently
unsupported by this port but seems to work fine with this fix applied.
Reported by: Jens Fallesen <jens@fallesen.dk>
Make make depend to work with the new gcc (the new preprocessor outputs
more stuff than the old one, which confuses makedepend script in the
distribution).
PORTREVISION is not bumped since there was no functionality change.
Reported-by: too many to list here
1. Speed up the fetch stage by using groups of MASTER_SITES.
2. Remove the dependency on perl (rather important for this port).
3. Make the script this port installs use the version of perl from ports.
Reported-by: (item 2) Juriy Goloveshkin <j@gu.ru>, Mark Huizer
<xaa@timewasters.nl>