Commit graph

344 commits

Author SHA1 Message Date
sno
b78ad0dde7 Adding support to install via bundled Module::Install by allowing
PERL5_MODULE_TYPE set to Module::Install::Bundled.
2010-01-16 15:02:14 +00:00
dsainty
fe1fa35425 We intentionally wire down the 'libswanted' list in the package Makefile, so
don't let the hints file add new libraries that may be found outside Pkgsrc
control.

Fixes build on Gentoo system, and possibly other Linux systems too that might
have stray -lgdbm_compat libraries lying around.  This reverts hints/linux.sh
to look more like it did in 5.10.0.
2009-12-22 04:39:58 +00:00
seb
1804423e46 Fix fetch: adjust MASTER_SITES to CPAN's src/5.0/ directory. 2009-12-14 12:24:46 +00:00
seb
7b4f7b83b7 Update perl from version 5.10.0nb6 to version 5.10.1.
Pkgsrc changes:
- Adjust some patches
- Remove patches integrated upstream

Upstream changes:
"5.10.1 is a maintenance release for perl 5.10, incorporating various
minor bugfixes and optimisations."

Nonetheless some incompatibles changes are noteworthy and are related
to:
- flip-flop and defined-or operators behavior in switch statement
- type-based dispatch and overloading of the smart match operator
- 'use feature :5.10*' semantics
- Perl development switched to git
- internal structure of the ext/ perl source directory changed
- removal of the modules Test::Harness::Straps, ExtUtils::MakeMaker::bytes
and ExtUtils::MakeMaker::vmsish
- the Module::CoreList module no longer contains the %:patchlevel hash
- a bugfix related to the handling of the /m modifier and qr resulted
in a change of behaviour between 5.8.x and 5.10.0 (this was missing from
perl 5.10.0 perldelta).

For a complete list of changes see included perl5101delta(1) or
http://perldoc.perl.org/perl5101delta.html
2009-12-14 06:36:56 +00:00
tnn
ff2b89aad2 Drop MAKE_JOBS_SAFE=no. Was updated a while back; MAKE_JOBS=16 works. 2009-10-23 18:41:02 +00:00
hasso
0760b5deb6 Fix thread library detection on DragonFly. From corecode via PR 42170. 2009-10-13 10:38:31 +00:00
schmonz
25b3570a19 Patch (from latest PathTools) to fix build failure on systems where
$HOME's parent directory isn't readable by an unprivileged user.
Tested on Linux with unprivileged pkgsrc (DreamHost, where the
problem was encountered) and on Mac OS X with a more typical setup.
2009-07-24 04:58:56 +00:00
sno
20927adaf8 adjust PERL5_LICENSE - enable both valid licenses 2009-07-17 06:44:46 +00:00
sno
6ca78edac7 allow dependent modules check build options of perl5 2009-07-17 06:43:27 +00:00
wiz
de851ddd8b Remove @unexec ${RMDIR} generating code that is now unnecessary with latest
pkg_install.
2009-06-18 05:30:24 +00:00
sno
1cf2e84d3b Adding patch to allow nearly all CPAN modules can use the license of
installed perl
2009-06-11 10:35:07 +00:00
sno
a5bc1d1e67 - enabling some tuning options to control 64-bit usage of built perl
- add support for Module::Install

Oked by joerg@
2009-06-11 10:32:29 +00:00
wiz
6ac11147ab Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
rillig
1955b7c506 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
sno
44d036aa1f Adding patch from perl-5.10.1 upstream to fix "Unkown error bug" described
in http://rt.perl.org/rt3/Public/Bug/Display.html?id=49472

Bumping PKGREVISION
2009-05-02 19:23:44 +00:00
sno
c764090269 Apply a patch to fix the broken build reported in PR pkg/41240 2009-05-02 18:42:32 +00:00
sno
19003a0cb9 Fix PR pkg/40944 by using the Module::Build from Perl's Core as default.
Oked by tron@ and he@
2009-03-21 23:11:29 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
bb9d74ab50 Add missing \ in multiline variable assignments. Only affects AIX. 2009-02-11 15:46:28 +00:00
wiz
508598e894 Add RCS Id. 2009-01-29 10:13:05 +00:00
joerg
5ead77f7b3 Fix patch. 2009-01-29 09:41:00 +00:00
tnn
510d3ca5f9 merge upstream commit b376053de54af4268a31e5a60d1f9e57db30af11:
[perl #49003] pp_ftrread appears to use the wrong access mode for -x when
              using "use filetest 'access';"
Bump PKGREVISION. Noted by Leo R. Lundgren.
2009-01-18 11:10:50 +00:00
joerg
d0aaa12c24 Fix subst pattern to create parsable entry for XLC's cpp. 2008-12-27 15:49:31 +00:00
joerg
12cf24611d Further refine AIX support. 2008-12-21 14:02:59 +00:00
joerg
35471bc4bb Improve AIX support to the point that dynamic modules work. Bump
revision. In collaboration with Jens Rehsack.
2008-12-20 13:08:00 +00:00
tron
0c42027a9b Add fixes for CVE-2008-2827 and CVE-2008-5302 from CPAN respectively
Debian. While there also fix two check interpreter warnings.
2008-12-08 13:34:46 +00:00
schwarz
8943b09335 added fix for bug perl #57458 (relevant to FreeBSD 7.X) 2008-12-08 12:46:13 +00:00
joerg
0d00ac6963 Add rpath entries for XCOFF/AIX as well. Tested by Jens Rehsack. 2008-11-14 18:27:00 +00:00
rillig
ddfa59374a Fixed a memory leak in the qr operator. PKGREVISION++ 2008-10-21 22:46:49 +00:00
he
83670cd265 Add BUILDLINK_API_DEPENDS.perl+= perl<5.12.0 together with a comment
explaining that this should prevent a repeat of the current problem where
binary perl packages built for 5.8.8 can be installed together with
perl 5.10.0 without any warning/error.  By the perl numbering scheme,
perl 5.12.0 will be the next maintenance version which installs modules
in a different path than what's used for 5.10.0.

The contents of perl itself doesn't change as a result of this change,
so no revision bump, but a revision bump for all packages which depend
directly on perl is forthcoming, as a workaround for the 5.8.8 -> 5.10.0
transition.
2008-10-19 19:10:42 +00:00
he
72955e214b Remove some extraneous quoting which makes this package not build
on Linux under certain circumstances.  Does not change the contents
of the package for other platforms, so no revision bump.
2008-10-19 19:04:57 +00:00
he
1427a98994 Adjust PERL5_REQD from 5.8.7 to 5.10.0, so as to prevent attempts
at using p5-* packages built with the new perl from being installed
together with an older version of perl.  The p5-* packages will not
work because the new and old perls install modules in different
directories.  As a consequence, bump package revision.
2008-10-16 18:27:13 +00:00
tron
5aebb6f97d Remove patch that tries to create "hints/dragonfly.sh" which is now part
of the distribution. This fixes build problems on platforms which use
GNU patch (e.g. Mac OS X).
2008-10-11 19:36:11 +00:00
seb
6bcc8c586e WRKDIR's basename can be anything hence be a bit more generic
while removing workdir reference in "lib/Config_heavy.pl"
2008-10-11 08:59:48 +00:00
he
5c9d47f22a Update perl5 from version 5.8.8nb8 to 5.10.0.
A large number of packages have had their internal regression tests
run successfully with this update, including mod_perl for Apache.


Pkgsrc changes: a number of our local patches are no longer needed.

Upstream changes from version 5.8.8:

  # Core Enhancements

    * The feature pragma
    * New -E command-line switch
    * Defined-or operator
    * Switch and Smart Match operator
    * Regular expressions
    * say()
    * Lexical $_
    * The _ prototype
    * UNITCHECK blocks
    * New Pragma, mro
    * readdir() may return a "short filename" on Windows
    * readpipe() is now overridable
    * Default argument for readline()
    * state() variables
    * Stacked filetest operators
    * UNIVERSAL::DOES()
    * Formats
    * Byte-order modifiers for pack() and unpack()
    * no VERSION
    * chdir, chmod and chown on filehandles
    * OS groups
    * Recursive sort subs
    * Exceptions in constant folding
    * Source filters in @INC
    * New internal variables
    * Miscellaneous
    * UCD 5.0.0
    * MAD
    * kill() on Windows

  # Incompatible Changes

    * Packing and UTF-8 strings
    * Byte/character count feature in unpack()
    * The $* and $# variables have been removed
    * substr() lvalues are no longer fixed-length
    * Parsing of -f _
    * :unique
    * Effect of pragmas in eval
    * chdir FOO
    * Handling of .pmc files
    * $^V is now a version object instead of a v-string
    * @- and @+ in patterns
    * $AUTOLOAD can now be tainted
    * Tainting and printf
    * undef and signal handlers
    * strictures and dereferencing in defined()
    * (?p{}) has been removed
    * Pseudo-hashes have been removed
    * Removal of the bytecode compiler and of perlcc
    * Removal of the JPL
    * Recursive inheritance detected earlier

  # Modules and Pragmata

    * Upgrading individual core modules
    * Pragmata Changes
    * New modules
    * Selected Changes to Core Modules

  # Utility Changes
  # New Documentation
  # Performance Enhancements

    * In-place sorting
    * Lexical array access
    * XS-assisted SWASHGET
    * Constant subroutines
    * PERL_DONT_CREATE_GVSV
    * Weak references are cheaper
    * sort() enhancements
    * Memory optimisations
    * UTF-8 cache optimisation
    * Sloppy stat on Windows
    * Regular expressions optimisations

  # Installation and Configuration Improvements

    * Configuration improvements
    * Compilation improvements
    * Installation improvements
    * New Or Improved Platforms

  # Selected Bug Fixes
  # New or Changed Diagnostics
  # Changed Internals

    * Reordering of SVt_* constants
    * Elimination of SVt_PVBM
    * New type SVt_BIND
    * Removal of CPP symbols
    * Less space is used by ops
    * New parser
    * Use of const
    * Mathoms
    * AvFLAGS has been removed
    * av_* changes
    * $^H and %^H
    * B:: modules inheritance changed
    * Anonymous hash and array constructors

  ...

See 'perldoc perldelta' or http://perldoc.perl.org/perldelta.html
for explanation of each of these points.
2008-10-10 21:58:43 +00:00
ahoka
343d3b6580 Don't try to use objformat on FreeBSD 7.0 and newer. 2008-07-30 23:07:52 +00:00
he
4a2152fa65 Apply a patch from Debian to fix the security vulnerability identified
by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1927.

Patch fetched from
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=26;filename=27_fix_regcomp_utf8;att=1;bug=454792
which, according to comments, is from upstream change 27688.

Revision bumped to nb8.
2008-06-01 22:04:07 +00:00
wiz
e8062cdd4e Add missing single quote. Fixes build on -current. 2008-04-28 22:24:22 +00:00
tnn
bc4d9b2fea Don't pass ABI flags on IRIX, compiler.mk already handles this through
_WRAP_EXTRA_ARGS.
2008-02-19 19:28:39 +00:00
tnn
938185d649 A nasty side effect of using TOOLS_SED here is that perl will try to
outsmart us and call the tool by name in some parts of the build.
eg just "nbsed" instead of "/usr/pkg/bin/nbsed". This can only have
worked before as long as ${PREFIX}/bin was in the user's path.
Fix this by TOOLS_ALIASES.sed+=${TOOLS_SED:T} so that an "nbsed"
is available in the PATH.
2008-02-09 13:58:46 +00:00
tnn
8878d87b25 Rewrote vars.mk so that perl is only invoked once, as opposed to once
per value to fetch.
2008-01-29 16:41:36 +00:00
joerg
fcb48c5b42 Appease pkglint^Wrillig and add a note for patch-as. 2008-01-13 00:20:22 +00:00
joerg
29c756efc4 Fix build on newer Linux systems. 2008-01-12 15:12:39 +00:00
apb
a50179c5f5 bump PKGREVISION for previous change to patch-ah. 2008-01-08 16:43:31 +00:00
apb
71e9b52b3a NetBSD's /proc/${pid}/exe is sometimes a symlink to "/" instead of to the
actual program name, so Perl's $^X or $EXECUTABLE_NAME variable was wrong.
Change a test to detect this case, and fall back to using argv[0].
2008-01-08 15:19:38 +00:00
minskim
cbe7d044cb Set LIBSWANTED for Linux as suggested by jlam in PR 31088. 2007-12-22 21:03:31 +00:00
minskim
8e00045f53 Properly fix the problem that 1.40 addressed. PERL5_REQD should be
treated as a list.
2007-11-21 22:49:45 +00:00
joerg
3931e7859f Back out 1.37 as it breaks PERL5_REQD (e.g. show-depends in
mail/p5-Email-Send).
2007-11-21 21:50:43 +00:00
obache
048777e0e3 Need to include vars.mk for ${PERL5_SUB_INSTALLARCHLIB}. 2007-11-21 14:15:11 +00:00
minskim
24ad30c540 When buildlinking perl, set PERL5 to pkgsrc perl, not the one selected
by the tools framework.
2007-11-19 03:53:10 +00:00