Commit graph

15 commits

Author SHA1 Message Date
jlam
719f599bcb Make a statically-linked perl binary on shared-library-enabled platforms,
but do it correctly.  The way this was done before, by simply statically
linking all the objects into a perl binary without recompiling the objects
without -fPIC, was wrong as pointed out in private email by Todd Vierling.
We now simply reconfigure perl to link statically, and use the perl build
process to generate a statically-linked perl.
2001-07-14 11:31:08 +00:00
tv
d6c0d5882c * 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>.
2001-07-09 17:10:25 +00:00
jlam
22d3aa5a41 Add patch missing from update to perl 5.6.1. 2001-06-07 04:26:48 +00:00
jlam
a9dd17e584 Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes,
the plugging of several memory leaks, fixes to the regular expression
engine, the addition of a Unicode character classes, better support for
64-bit platorms, and updates of many modules in the base Perl Library.
See perldelta.pod for more details.

Also update p5-Data-Dumper, p5-Devel-DProf, and p5-Devel-Peek to the
latest versions distributed with the perl-5.6.1 sources, and libperl to
5.6.1 to match the perl package.
2001-06-07 04:25:31 +00:00
jlam
4a90c869cc Update perl-base to 5.6.0nb2. Changes from version 5.6.0nb1 are building
and installing libperl as a shared libarary on platforms that support
shared libraries (or those that explicitly define MKPIC=yes).  As a
compromise for those platforms that have the need for speed and thus a
statically-linked perl binary, explicitly link perl against a static
libperl.a.

Before this update, the current situtation was that we installed the static
library in perl and the shared library in libperl.  This caused the wrong
linker flags to be passed to perl packages and they might have gotten a
hidden dependency on libperl depending on whether they were built with or
without libperl installed.  Avoid all this by only having the static or
shared library installed at any time.
2001-05-20 05:21:23 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
manu
dad880f95b Added missing RCS tag 2001-04-15 18:10:47 +00:00
manu
2d8ee1582d Modified the link process of the perl executable so that all libgcc.a is
included in the perl executable. We need this to make the upcoming
xerces-perl package working.
This hack should be made obsolete by gcc-3.0, which will have a libgcc.so.
See http://mail-index.netbsd.org/tech-pkg/2001/04/07/0000.html for more details
2001-04-12 18:14:16 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
jlam
416458621b Make this conflict with perl-5.00* so we can't install both perl-5.00404
and perl-base-5.6.0.
2001-01-25 14:40:10 +00:00
jlam
6130dace65 Don't try to install a manpage for a dprofpp. 2001-01-11 17:51:29 +00:00
martin
b4ce2f0971 Make perl work on NetBSD/sparc64.
The patch against regcomp.c (uninitialized variable) has been fed back
to the perl maintainers. The others are more like workarounds for known
toolchain problems and not fed back (for now).

The hints/netbsd.sh file has an additional change: the perl buildin malloc
(which is disabled in pkgsrc builds via configure arguments anyway) is now
disabled in the hints file as well. This makes it possible to build a
working perl outside of pkgsrc with this hints file. Wheter this hints file
should be fed back is subject to further discussion.

Make perl not build against a dynamic libperl.so.

There are two reasons: (a) the dynamic libperl.so version does not work
at all on sparc64, and (b) the static linked version is said to have a
significant performance improvement on some platforms (i.e. sparc). I think
the libperl.so was enabled by accident when switching from perl 5.0.4 to
5.6.0.

Other packages using libperl.so should not depend on perl5-base but on
../libperl.
2000-11-08 08:28:00 +00:00
jlam
dab5e185a5 Remove perllocal.pod. 2000-09-06 10:54:36 +00:00
jlam
b37f4b7d91 Reimport lang/perl5 to lang/perl5-base with some minor modifications.
This is the base installation of perl5, with several modules removed that
are externally available through pkgsrc.
2000-09-05 09:18:21 +00:00