Commit graph

509 commits

Author SHA1 Message Date
dholland
2da42d7c1f Don't hardwire /usr/pkg; use $PREFIX instead. This fixes various
problems with linking and rpaths, such as the NetBSD manifestation of
PR 47187, and probably others; I haven't tried yet but I suspect at
least my manifestation of PR 44985 will be fixed too.
2013-01-03 10:11:34 +00:00
spz
674eac27ca patch SA51498 from the git repo 2012-12-12 10:13:47 +00:00
sbd
5bd98bc636 Set ccflags and ldflags in Policy.sh instead of with CONFIGURE_ARGS. 2012-11-07 03:58:00 +00:00
sbd
530c0b277a Move XCOFF special handling to Policy.sh. 2012-11-07 02:46:19 +00:00
adam
7bbcf56c37 Changes 5.16.2:
Several minor bugs were fixed.
2012-11-04 10:31:46 +00:00
sbd
29d6d0767f Remove the addition on ${LOCALBASE}/lib rpath to ldflags as this is already
done by the buildlink system.
2012-11-02 22:24:08 +00:00
sbd
e855b085ab Move options from Makefile to options.mk and remove a duplicate .include of
mk/compiler.mk
2012-11-02 21:22:10 +00:00
sbd
fb5effd02b Move a hack from the Makefile to hacks.mk 2012-11-02 08:26:59 +00:00
sbd
701ac5adde Tidy-up the perl5-post-install commands.
(removing two missed references to PERL5_SCRIPTDIR and PERL5_MAN1DIR while at
it)
2012-11-02 08:18:50 +00:00
sbd
30ec25b653 Remove the uneeded PERL5_SCRIPTDIR and PERL5_MAN1DIR variables. 2012-11-02 07:36:24 +00:00
sbd
008f8f425a Remove the dynamic plist additions and add the two files to the static PLIST 2012-11-02 07:29:30 +00:00
wiz
e46b5751ce REPLACE_PERL one more file and add a SUBST_MESSAGE.
The rm class doesn't always work for me because miniperl regenerates
some Makefiles and then overwrites the substed file. I haven't tracked
the exact reason that triggers this down yet.
2012-10-20 10:41:46 +00:00
obache
695a56de97 Add a patch for Haiku OS (missing LOG_PRIMASK).
taken from CPAN Sys-Syslog-0.30.
2012-10-16 13:21:31 +00:00
sno
eca3a757ee adding BUILD_PARAMS analogue to MAKE_PARAMS for Module::Build Perl5 modules 2012-10-10 09:27:12 +00:00
wiz
e579208516 Update version in a comment. 2012-10-03 21:23:25 +00:00
adam
01a0059a6c Changes 5.16.1:
Enhancements were made to code features such as "use", which now explicitly enables feature bundles, a more consistent "eval" operator, and a revamped "substr" function. The "__SUB__" sequence now returns a reference to the current subroutine, allowing for recursive subroutines to be written more simply. Support for Unicode 6.1 was improved. Many other minor improvements and bugfixes, along with several deprecations, were made
2012-10-03 19:59:47 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
jperkin
e3e9efb4a8 Apply limited part of patch from perl bug 63604 to fix build on Solaris
with GCC 64-bit.  Tested on 32-bit too.

Fixes PR pkg/44999.
2012-06-14 16:12:11 +00:00
ryoon
21a91f7ead Fix PR pkg/46439
Fix comment, PERL5_MODULE_TYPE also accepts "Module::Install::Bundled".
2012-05-18 21:04:46 +00:00
tron
8ea403ece5 Teach perllink(1) to transparently handle the case where a file has been
compressed with "gzip". This stops it from creating a lot of broken
symbolic links if "MANZ" is defined.

Bump package revision because of this change.
2012-03-04 10:26:57 +00:00
fhajny
5e402cff83 Backport a fix for a serious bug from upstream, where pkgsrc's CFLAGS
were being used to replace EU::CBuilder's ccflags, resulting in tests
and modules failing in specific situations (e.g. on SunOS with ABI=32).

https://rt.perl.org/rt3//Public/Bug/Display.html?id=89478

Bump PKGREVISION.
2012-02-23 13:00:23 +00:00
sbd
8f6cc34919 Make the _PERL5_PACKLIST_MANPAGE_RE pattern match the
_PLIST_REGEXP.man pattern.
2012-02-21 06:49:21 +00:00
sbd
172718873e Merge patch-Configure into patch-ca and use lower case $prefix 2012-02-19 04:10:49 +00:00
obache
9d0cdb7c40 Fixes build on NetBSD-6.x, PR 46037.
patch provided by nonaka@.
2012-02-17 14:04:01 +00:00
hiramatsu
c4d129d643 Force ExtUtils::MakeMaker to ignore installed packlist when creating new
packlist. It prevents generating wrong PLIST during make replace.

Bump PKGREVISION.
2011-12-08 22:43:49 +00:00
joerg
313b61abcd Always add PREFIX/lib to libpth. When building as normal user, it often
exists already. This is not the case for bulk builds though. This fixes
p5-MARC-Charset, since p5-gdbm ended up without rpath to PREFIX/lib.
Fix some Perl interpreter paths while here. Bump revision.
2011-11-27 19:47:50 +00:00
obache
9f6cefbba1 Add print-PLIST support for perl modules without .packlist. 2011-10-28 07:41:52 +00:00
wiz
e4e92b483c PKGREVISION does not belong in Makefile.common. 2011-10-16 20:43:56 +00:00
spz
a4ffff86f6 apply the changes to just Digest.pm from:
http://perl5.git.perl.org/perl.git/commitdiff/a2fa999d41c94d622051667d897fedca90be1828

  2011-10-02   Gisle Aas <gisle@ActiveState.com>

   Release 1.17.

   Gisle Aas (6):
      Less noisy 'git status' output
      Merge pull request #1 from schwern/bug/require_eval
      Don't clobber $@ in Digest->new [RT#50663]
      More meta info added to Makefile.PL
      Fix typo in RIPEMD160 [RT#50629]
      Add schwern's test files

   Michael G. Schwern (5):
      Turn on strict.
      Convert tests to use Test::More
      Untabify
      Turn Digest::Dummy into a real file which exercises the Digest->new() require logic.
      Close the eval "require $module" security hole in Digest->new($algorithm)
2011-10-16 20:09:42 +00:00
hauke
133a47f6ea On m68k, gcc creates short assembler branch insns, and expects the
assembler to adapt them to the distance. m68k gas appears not to do
that for fpu branch insns, resulting in an out-of-range FPU assembler
branch instruction error in "ext/re/re_exec.c".

As a workaround, building with "-Os" instead of "-O2" reduces the size
of the object file enough to allow short branches.

See PR toolchain/45439.
2011-10-11 10:02:13 +00:00
adam
f314fe2f52 Changes 5.14.2:
* File::Glob::bsd_glob() memory error with GLOB_ALTDIRFUNC (CVE-2011-2728).
* Encode decode_xs n-byte heap-overflow (CVE-2011-2939)
2011-09-29 07:17:26 +00:00
dsainty
b74fbea8e1 If building with threads support, add PTHREAD_LDFLAGS to LDFLAGS.
Fixes build on Ubuntu 11.04.  Unlikely to have an effect on platforms that
already built, so no PKGREVISION bump.

Ok'd in freeze by wiz@
2011-09-20 11:31:13 +00:00
brook
21e80ae392 The CPAN module DB_File tries to link against -ldb, but NetBSD does not
provide a separate library so compilation fails.  Add a hints file to
correct the list of libraries used on NetBSD.
2011-09-17 18:51:35 +00:00
hans
ee8e4248b6 When building perl packages, never use native perl. 2011-09-14 15:41:36 +00:00
obache
bc96e3ca50 Bump default BUILD_DEPENDS for Module::Build packages to match current
stable branch status, perl-5.12.2 or external one same version as bundled one.
2011-08-15 04:48:36 +00:00
adam
1f337496f7 Changes 5.14.1:
* Several modules were updated to fix minor bugs.
* Tests were fixed.
* Documentation was improved.

Changes 5.14.0:
* Unicode version 6.0 is now supported.
* Regular expressions can now be reset to the default modifiers.
* Four new regular expression modifiers, "/d", "/l" , "/u", and "/a", were
  introduced.
* The substitution operators now support the modifier "/r" to work
  non-destructively, leaving the original unmodified.
* Larger octals can now be specified.
* Array and hash operators can now experimentally operate directly on hard
  references.
* printf-like functions now understand post-1980 size modifiers.
* Exception handling was made more reliable and consistent.
* Other enhancements and many bug fixes were made

PkgSrc:
* Fixed configuring on Mac OS X 10.7.
2011-08-05 18:06:14 +00:00
ryoon
99b1e896d1 Fix build on MacOS X Lion (Darwin Kernel Version 11.0.1).
From upstream comment:
nm isn't known to work after Snow Leopard and XCode 4; testing with OS X 10.5
and Xcode 3 shows a working nm, but pretending it doesn't work produces no
problems.

From upstream commit log:
Testing from 10.5 with Xcode 3 to the latest OS X works with usenm='false' but
not always with usenm='true'
2011-08-05 13:12:18 +00:00
joerg
864744d1ab Drop --whole-archive. It should be a linker option (-Wl prefixed) in
first place, but it breaks linkage with clang as it forced libgcc to be
included in libperl, resulting in text relocations.
2011-07-19 13:58:53 +00:00
abs
55e7be2f10 Allow sitebin to be overridden by PERL5_SITEBIN. No change to default build 2011-05-16 07:59:04 +00:00
taca
ea2c96db60 Add a patch to fix for http://secunia.com/advisories/43921/ from perl's
git repository (539689e74a).

Bump PKGREVISION.
2011-04-07 04:03:57 +00:00
wiz
7288e291d1 regen. 2011-01-30 21:35:43 +00:00
wiz
d5a2f3b435 Add RCS Id. 2011-01-30 21:35:32 +00:00
wiz
af6da45a4b Use more portable __sun instead of __sun__, per pkglint. 2011-01-30 21:35:24 +00:00
wiz
e172b722dc Remove empty chunk. 2011-01-30 21:35:12 +00:00
wiz
be231d3524 Improve MirBSD support, from Benny Siegert in PR 44491. 2011-01-30 21:31:42 +00:00
agc
e81f515156 Add support for MirBSD to pkgsrc. Patches from Benny Siegert and
Thorsten Glaser.
2011-01-23 19:07:24 +00:00
wiz
aaac6df17b Fix some patterns (hint: do not mix {} and <> 2010-12-29 22:25:17 +00:00
adam
c257121a58 Pass CFLAGS and LDFLAGS, otherwise fails on Mac OS X with different SDKs. 2010-12-26 12:16:06 +00:00
wiz
c5d804b155 Remove alpha hack. Not needed any longer; per Staffan Thomén
<duck@shangtai.net> on tech-pkg.
2010-11-02 07:54:31 +00:00
sno
216a511894 Updating lang/perl5 from 5.12.2 to 5.12.2nb1
pkgsrc changes:
- updating bundled modules
  * threads from 1.75 to 1.78
  * threads::shared from 1.32 to 1.33
  * Math::BigInt from 1.89_01 to 1.95 (without test merges)

Upstream changes of avove modules

>>> threads <<<
1.78 Wed Sep 22 17:21:22 2010
	- Handle missing signal handler in thread (threads bug #60460)

1.77 Fri Mar 26 13:36:33 2010
	- Fix race condition in t/threads.t (threads bug #55633)

1.76 Tue Mar  9 14:02:43 EST 2010
	- Handle magic on arg to ->object() (bug #73330)
	- Make ->object(threads->tid()) work like ->self() (bug #73330)
	- Noted memory consumption issue in POD
	- Added reusable thread pool example

>>> threads::shared <<<
1.33 Tue Mar  9 14:03:47 EST 2010
	- Handle shared object reference during global destruction
	- Document that changing array length via $#array doesn't work

>>> Math::BigInt <<<
2010-09-03 v1.90 rafl
 * fix bnok() for k==0 and k==n-1
2010-09-10 v1.91 rafl
 * fix various documentation bugs
2010-09-10 v1.92 rafl
 * re-upload v1.91 with a fixed SIGNATURE
2010-09-13 v1.93 rafl
 * Depend on perl >= 5.6.2
 * Remove obsolete core test directory boilerplate
 * Convert from Test to Test::More
2010-09-13 v1.94 rafl DEVELOPMENT RELEASE
 * Attempt to fix Math::BigInt::Lite failures
2010-09-14 v1.95 rafl
 * Re-upload v1.94 as a stable release
2010-09-23 21:47:48 +00:00
sno
a28773db84 Updating lang/perl5 from 5.12.1nb2 to 5.12.2
Upstream changes:
Incompatible Changes
	There are no changes intentionally incompatible with 5.12.1.
	If any exist, they are bugs and reports are welcome.

Core Enhancements
	Other than the bug fixes listed below, there should be no
	user-visible changes to the core language in this release.

Modules and Pragmata

New Modules and Pragmata
	This release does not introduce any new modules or pragmata.

Pragmata Changes
	In the previous release, no VERSION; statements triggered a bug
	which could cause feature bundles to be loaded and strict mode
	to be enabled unintentionally.

Updated Modules

Carp
    Upgraded from version 1.16 to 1.17.

    Carp now detects incomplete caller() overrides and avoids using bogus
	@DB::args. To provide backtraces, Carp relies on particular behaviour
	of the caller built-in. Carp now detects if other code has overridden
	this with an incomplete implementation, and modifies its backtrace
	accordingly. Previously incomplete overrides would cause incorrect
	values in backtraces (best case), or obscure fatal errors (worst case)

    This fixes certain cases of Bizarre copy of ARRAY caused by modules
	overriding caller() incorrectly.

CPANPLUS
    A patch to cpanp-run-perl has been backported from CPANPLUS 0.9004.
	This resolves [perl #55964] and [perl #57106], both of which related
	to failures to install distributions that use Module::Install::DSL.

File::Glob
    A regression which caused a failure to find CORE::GLOBAL::glob after
	loading File::Glob to crash has been fixed. Now, it correctly falls
	back to external globbing via pp_glob.

File::Copy
    File::Copy::copy(FILE, DIR) is now documented.

File::Spec
    Upgraded from version 3.31 to 3.31_01.

    Several portability fixes were made in File::Spec::VMS: a colon is now
	recognized as a delimiter in native filespecs; caret-escaped
	delimiters are recognized for better handling of extended filespecs;
	catpath() returns an empty directory rather than the current
	directory if the input directory name is empty; abs2rel() properly
	handles Unix-style input.

Utility Changes
    * perlbug now always gives the reporter a chance to change the email
      address it guesses for them.
    * perlbug should no longer warn about uninitialized values when using
      the -d and -v options.

Changes to Existing Documentation
    * The existing policy on backward-compatibility and deprecation has
      been added to perlpolicy, along with definitions of terms like
      deprecation.
    * "srand" in perlfunc's usage has been clarified.
    * The entry for "die" in perlfunc was reorganized to emphasize its role
      in the exception mechanism.
    * Perl's INSTALL file has been clarified to explicitly state that Perl
      requires a C89 compliant ANSI C Compiler.
    * IO::Socket's getsockopt() and setsockopt() have been documented.
    * alarm()'s inability to interrupt blocking IO on Windows has been
      documented.
    * Math::TrulyRandom hasn't been updated since 1996 and has been removed
      as a recommended solution for random number generation.
    * perlrun has been updated to clarify the behaviour of octal flags to
      perl.
    * To ease user confusion, $# and $*, two special variables that were
      removed in earlier versions of Perl have been documented.
    * The version of perlfaq shipped with the Perl core has been updated
      from the official FAQ version, which is now maintained in the
      briandfoy/perlfaq branch of the Perl repository at
      git://perl5.git.perl.org/perl.git.

Installation and Configuration Improvements
Configuration improvements
    * The d_u32align configuration probe on ARM has been fixed.

Compilation improvements
    * An "incompatible operand types" error in ternary expressions when
      building with clang has been fixed.
    * Perl now skips setuid File::Copy tests on partitions it detects to
      be mounted as nosuid.

Selected Bug Fixes
    * A possible segfault in the T_PRTOBJ default typemap has been fixed.
    * A possible memory leak when using caller() to set @DB::args has been
      fixed.
    * Several memory leaks when loading XS modules were fixed.
    * unpack() now handles scalar context correctly for %32H and %32u,
      fixing a potential crash. split() would crash because the third item
      on the stack wasn't the regular expression it expected.
      unpack("%2H", ...) would return both the unpacked result and the
      checksum on the stack, as would unpack("%2u", ...). [perl #73814]
    * Perl now avoids using memory after calling free() in pp_require when
      there are CODEREFs in @INC.
    * A bug that could cause "Unknown error" messages when
      "call_sv(code, G_EVAL)" is called from an XS destructor has been fixed.
    * The implementation of the open $fh, '>' \$buffer feature now supports
      get/set magic and thus tied buffers correctly.
    * The pp_getc, pp_tell, and pp_eof opcodes now make room on the stack
      for their return values in cases where no argument was passed in.
    * When matching unicode strings under some conditions inappropriate
      backtracking would result in a Malformed UTF-8 character (fatal)
      error. This should no longer occur. See [perl #75680]

Platform Specific Notes
AIX
    * README.aix has been updated with information about the XL C/C++ V11
      compiler suite.

Windows
    * When building Perl with the mingw64 x64 cross-compiler incpath,
      libpth, ldflags, lddlflags and ldflags_nolargefiles values in
      Config.pm and Config_heavy.pl were not previously not being set
      correctly because, with that compiler, the include and lib
      directories are not immediately below $(CCHOME).

VMS
    * git_version.h is now installed on VMS. This was an oversight in
      v5.12.0 which caused some extensions to fail to build.
    * Several memory leaks in stat() have been fixed.
    * A memory leak in Perl_rename() due to a double allocation has been
      fixed.
    * A memory leak in vms_fid_to_name() (used by realpath() and
      realname()) has been fixed.
2010-09-09 20:35:43 +00:00
sno
9318fc218e adding some CONFLICTS (modules which are newer in core) 2010-09-05 08:29:51 +00:00
dsainty
14b400109a Reinstate patch-ac, which is still needed for Perl 5.12.1.
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 and SuSE systems, and possibly other Linux systems too
that might have stray -lgdbm_compat libraries lying around.
2010-08-30 07:36:30 +00:00
tron
ab5cc57069 Bump package revision again after unnecessary "gawk" dependence was removed. 2010-08-27 16:34:59 +00:00
tron
2a86c2c042 Don't require "gawk". This is false positive reported by "pkglint". 2010-08-27 16:34:03 +00:00
sno
bf3355ee5c Updating lang/perl5 from 5.12.1 to 5.12.1nb1
pkgsrc changes:
- preparing for databases/p5-gdbm (using Makefile.common)
- supporting external access to perl install dirs (dirs.mk)
- fixing some errors/warnings from pkglint
- adding conflict to packages of CPAN modules which are in Perl5 code
  on the one hand and are broken with perl-5.10+

Bumping PKGREVISION (dependencies changed, rebuild highly recommended).
Recursive rebuild is not required.
2010-08-27 05:27:37 +00:00
obache
21d3eaa123 Improve Haiku Support
* Make perl executable
* Add rpath for linkage, to allow using libraries outside of default LIB_PATH.
* Allow PREFIX != /boot/common (patch-cp)
2010-08-21 03:12:46 +00:00
seb
f145e56457 Update perl from version 5.10.1nb2 to version 5.12.1.
Pkgsrc changes:
- Adjust some patches
- Remove patches integrated upstream
- Use Perl's "Policy.sh" framework (along the way remove some patches)
- Link in an enterprise friendly way on HPUX
- in buildlink3.mk bump minimum required pkgsrc Perl version to
5.12.0
- placate some pkglint warnings

Upstream changes:
- From version 5.12.1 announce

This release contains minor bug fixes and updates of several core
modules, as well as minor documentation updates. It should be fully
backward compatible with Perl 5.12.0.

- From version 5.12.0 announce:

Perl 5.12.0 represents approximately two years of development since
version 5.10.0 and contains over 750,000 lines of changes across over
3,000 files from over 200 authors and committers.

[...]

Notable changes in Perl 5.12 include:

* Perl now conforms much more closely to the Unicode standard.
  Additionally, this release includes an upgrade to version
  5.2 of the standard.

* New experimental APIs allow developers to extend Perl with
  "pluggable" keywords and syntax.

* Perl now has a better sense of time and will be able to keep
  accurate time well past the "Y2038" barrier.

* New syntax allows developers to specify package version numbers
  directly in "package" statements

* Perl now warns the user about the use of deprecated features
  by default.

- For a complete list of changes see included perl5120delta(1) and
perl5121delta(1) or http://perldoc.perl.org/perl5120delta.html and
http://perldoc.perl.org/perl5121delta.html
2010-08-19 20:47:09 +00:00
spz
2fe8bed62f fix CVE-2010-1168 and CVE-2010-1447 by updating Safe.pm to the current,
not-affected version
2010-06-27 13:38:39 +00:00
morr
8053a2232c Fix issue with PLIST generation by not reading existing .packlist. 2010-05-09 18:46:34 +00:00
fhajny
58999cec62 Resolve building problem on SunOS and SPARC.
Fix PR 40560
2010-04-01 22:03:09 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
tron
bf3efcc534 Use "PKG_PREFIX" if it is set and the compiled in path otherwise.
Based on a suggestion by Steven Drake.
2010-02-14 15:10:38 +00:00
tron
06f08f19df Don't use "${PKG_PREFIX}" which is not set when this script gets run.
This avoids error messages from "perllink" while deinstalling (or
updateing) a Perl module package.

Fixed based on an analysis provided by Steven Drake on "tech-pkg".
2010-02-03 13:29:37 +00:00
sno
716306a3b4 Reviewed patch from pkg/42709 and apply it. 2010-01-31 12:14:24 +00:00
sno
d701d73e37 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
6c3ec0bf9e 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
281c7de76c Fix fetch: adjust MASTER_SITES to CPAN's src/5.0/ directory. 2009-12-14 12:24:46 +00:00
seb
d0c027c879 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
e0499476e6 Drop MAKE_JOBS_SAFE=no. Was updated a while back; MAKE_JOBS=16 works. 2009-10-23 18:41:02 +00:00
hasso
5e69bd345d Fix thread library detection on DragonFly. From corecode via PR 42170. 2009-10-13 10:38:31 +00:00
schmonz
1ba887a821 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
d5b70c5e50 adjust PERL5_LICENSE - enable both valid licenses 2009-07-17 06:44:46 +00:00
sno
bb514fcbac allow dependent modules check build options of perl5 2009-07-17 06:43:27 +00:00
wiz
29e7aed4dd Remove @unexec ${RMDIR} generating code that is now unnecessary with latest
pkg_install.
2009-06-18 05:30:24 +00:00
sno
e0001d2f8d Adding patch to allow nearly all CPAN modules can use the license of
installed perl
2009-06-11 10:35:07 +00:00
sno
eb321fc56c - 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
60f460ab01 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
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
sno
34fa524bc8 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
4aa7df3e4d 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
minskim
4fd3a33d7e Bump PKGREVISION because of the mk/tools/perl.mk changes. There was
a window during which perllink didn't work properly on Darwin.
2007-11-19 00:49:29 +00:00
minskim
8cfdb52849 If perl is buildlinked, used perl in ${BUILDLINK_PREFIX.perl} and
do not rely on the tools framework.
2007-11-18 21:44:56 +00:00
adrianp
824183de3d For the moment disable the building of a shared libperl.dylib on Darwin
=> 9.0 as it breaks the build.  This should just be considered a temporary
work around until the actual problem can be fixed as this worked for
Darwin < 9.0.

There are no changes to perl on any other platforms.

This should address PR# 37225
2007-11-18 00:42:50 +00:00
martti
9afb20a137 Added commented-out LICENSE=something. 2007-11-11 11:35:48 +00:00
drochner
498b7582af add a patch from Redhat bugzilla #323571 to fix CVE-2007-5116:
A flaw was found in Perl's regular expression engine. Specially crafted
input to a regular expression can cause Perl to improperly allocate memory,
possibly resulting in arbitrary code running with the permissions of the
user running Perl.
2007-11-06 19:54:52 +00:00
rillig
43ba2d75f0 Don't assume any pre-installed perl5. This is necessary for pbulk builds
when Perl is installed in the "outer" pkgsrc. Otherwise, references to
the pbulk directory are stored in the binary package.
2007-09-06 16:31:38 +00:00
tnn
1b4e6adfd0 A subtle change introduced in gcc-4.2.x broke perl's makedepend script.
The name of the "standard input file" in the preprocessor was changed from
<command line> to <command-line>. Make makedepend recognize this.
2007-08-04 10:27:58 +00:00
heinz
3449f06ac1 Enable installation to DESTDIR for all packages based on Module::Build. 2007-05-26 12:46:20 +00:00
tnn
f19ab3d33a patch-cn: hpux: don't use absolute path to ld(1) 2007-04-21 15:32:15 +00:00
rillig
0faa35202e The error messages on AIX are weird, but maybe someone understands them. 2007-04-21 09:41:00 +00:00
dmcmahill
f6793deab5 Commit the patch from PR pkg/35319 which should fix perl compilation on
newer versions (11) of solaris.  Verified that the 'bmake test' output
is unchanged on 32-bit solaris-2.9/sparc.
2007-02-06 19:12:09 +00:00
rillig
c6036da639 This package is not MAKE_JOBS_SAFE. 2007-01-19 14:59:06 +00:00
rillig
80770fe7e6 Oops, forgot to add a default value for PERL5_USE_PACKLIST and to test
the change at all.
2007-01-15 05:36:04 +00:00
rillig
e50e8ac3cf Added a new variable PERL5_USE_PACKLIST that decides whether the Perl
packlist is used to generate the pkgsrc PLIST. This is the case for most
of the Perl modules, so the default value is "yes".

Currently, there is no change in functionality. After some further
testing, the default will be that a Perl module provides a packlist and
needs to say if it doesn't.
2007-01-15 05:32:04 +00:00
rillig
02c39c55d6 ABI is usually undefined, so a defined() check is needed. 2007-01-08 07:13:54 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
d5a346e1ba Further improve packlist logic to handle DESTDIR for Perl modules
as well. Perl itself is special as the DESTDIR does *not* end up
in the packlist, but for normal modules it does.
2006-11-03 10:48:05 +00:00
joerg
f0f238c0cf DESTDIR support. Slightly refactor Perl build to avoid calling the newly
build executable, either by using the same constants or by sourcing the
config.sh script created by Configure.

Don't create $installsitearch and don't attempt to remove
$installvendorarch, the former is easy and the latter not needed.
2006-11-03 07:09:45 +00:00
ben
9af81a7cb2 Remove extraneous interix change from patch-cb.
Perhaps this change was accepted upstream, and not yet removed from pkgsrc.
2006-10-08 17:48:30 +00:00
rillig
bc85a438af PERL5_CONFIGURE_DIRS may now contain directory names relative to
${WRKSRC}. This saves some keystrokes when writing Makefiles.
2006-10-04 22:24:49 +00:00
rillig
a3de4e93a9 Only do the build and test actions when NO_BUILD does not prevent them. 2006-10-04 21:31:34 +00:00
rillig
47f5af86d0 Added a debugging option to the package (disabled by default). 2006-10-01 14:48:39 +00:00
tron
79acc7c0cb Remove changes added by Perl's configure script. Problem pointed out
by Thomas Klausner.
2006-08-08 15:36:00 +00:00
tron
ed199a1141 Make this build under NetBSD 4.x. 2006-08-08 15:27:36 +00:00
jlam
ded09b6f3d Consistently use $perlprog to refer to the perl executable in the
perllink script.  This was causing errors when building perl from
pkgsrc.  The perllink script didn't create any symlinks because it
tried to invoke "perl", which silently fails with revision 1.20 of
mk/tools/perl.mk (after the pkgsrc-2006Q2 branch).

Bump the PKGREVISION to 3.
2006-07-19 18:10:32 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
853dc340f9 Added a patch for t/io/fs.t, which handles filesystems that are mounted
with the "noatime" option on NetBSD.
2006-07-02 20:35:53 +00:00
jlam
e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00
rillig
4a96d61132 Fixed pkglint warnings. 2006-06-09 08:50:24 +00:00
rillig
560fc65286 bsd.prefs.mk only needs to be included once. 2006-06-09 08:38:53 +00:00
jlam
dc6d990317 GCC versions prior to 3.4 have a bug handling the "unused" attribute
in declarations when compiling C++ code.  Patch the perl.h and XSUB.h
headers to avoid using this attribute if using GCC<3.4 and building
C++ modules.  This fixes PR pkg/33403 by OBATA Akio.

Bump PKGREVISION to 2.
2006-05-06 12:32:20 +00:00
jlam
92f0b330ce Error out if the packlist isn't specified correctly, so we don't pretend
to have a working PLIST and a successful installation.
2006-05-02 02:28:24 +00:00
jlam
202af48c33 Put any compiled binaries into vendor- and site-specific locations to
avoid conflicts with each other.  We let the perllink script handle all
the appropriate symlinking.  Bump PKGREVISION to 1.
2006-04-11 22:51:23 +00:00
jlam
87cd0b8d86 Ensure that perl uses /bin/sh (or the appropriate functional equivalent)
for executing shell commands.  Fix from PR pkg/32812 by Anne Bennett.
2006-04-09 07:11:13 +00:00