Commit graph

482 commits

Author SHA1 Message Date
bsiegert
61b572397b Declare MACOSX_DEPLOYMENT_TARGET for versions from 10.3 to 10.5 to fix
the build.

Patch provided by Sevan Janiyan in PR pkg/49394.
2014-11-22 15:45:41 +00:00
wiz
cfe2e18350 Replace perl interpreter in one more file. 2014-11-22 03:04:31 +00:00
wiz
ffc01a35f8 Remove path to non-existing file, and fix path to existing one. 2014-11-22 03:01:52 +00:00
tron
5553b92be2 Don't append ".gz" to the filenames of Perl manual page that are already
compress. This fixes the build of e.g. the "p5-YAML-LibYAML" package
if "MANZ" is set.
2014-11-13 17:48:59 +00:00
adam
9710448feb Perl 5.20.1 has been released, this is the latest stable version of Perl.
Changes include performance enhancements and various bug fixes.

Perl 5.20.1 represents approximately 4 months of development since Perl 5.20.0 and contains approximately 12,000 lines of changes across 170 files from 36 authors.
2014-10-01 07:17:02 +00:00
spz
22fb374174 Minimally invasive fix for CVE-2014-4330, also known as
https://www.lsexperts.de/advisories/lse-2014-06-10.txt,
a stack overflow vulnerability in Data::Dumper

Patches taken from
http://perl5.git.perl.org/perl.git/commitdiff/19be3be6968e2337bcdfe480693fff795ecd1304,
to be removed when updating to 5.20.1 (or later).

perl-5.20.0nb2 is fit for pkg_add -u replacement of perl-5.20.0nb1
2014-09-29 11:36:01 +00:00
mrg
8a99cab8a1 adjust a pattern to match 0.8 vs everything else.
fixes build on netbsd-7, which was matching "not everything else"
2014-08-12 05:41:39 +00:00
richard
ed131363eb Use bash on SunOS, as pdksh (at least on x86_64) has issues for the moment. 2014-07-05 05:10:48 +00:00
joerg
1e6bcc0d5f Don't try to extract the library search path from gcc/clang. It will
leak .buildlink into the final build and create a broken p5-gdbm.
Bump revision.
2014-06-08 23:35:55 +00:00
obache
1ec2acda60 -lnetwork is wanted for Haiku. 2014-06-07 12:08:47 +00:00
obache
b384161932 Due to directory style layout change, Haiku's SYSLIBPATH may not be
/boot/common/lib.
Undef it for Haiku and COMPILER_LIB_DIRS instead (also for other platforms
not set here).
XXX: all platforms should be SYSLIBPATH=${COMPILER_LIB_DIRS}, or
XXX: _OPSYS_LIB_DIRS for such platforms should be fixed.
2014-06-07 12:07:43 +00:00
obache
5b4c058af0 regen. 2014-06-07 11:58:57 +00:00
obache
7dc912f3fb File::Copy is used for the case link() is not usable.
Fixes installation on Haiku with BeFS.
2014-06-07 11:58:39 +00:00
obache
4f46be5a56 add include path for Haiku new directory layout 2014-06-07 11:57:34 +00:00
richard
d0ab728b88 Workaround perldtrace.h dependency problem 2014-06-04 14:24:37 +00:00
obache
2cb8b61e50 Move Haiku pthread hack to options.mk.
"pthreads broken on vax" hack had been removed, but it is also used for Haiku.
2014-06-04 09:19:56 +00:00
dsainty
956328013d For Perl 5.20.0, update patch to not introduce an empty if/then/else block,
which some shells prohibit.

Fixes build on Linux.
2014-06-04 00:21:33 +00:00
obache
a8b75bb594 Note CGI core module is older for www/p5-CGI-Fast. 2014-06-02 09:53:32 +00:00
obache
afced02363 core contains experimental-0.007 2014-05-31 02:07:31 +00:00
obache
038ac542bb clean up "older for" notation. 2014-05-31 02:06:17 +00:00
wiz
2288001a15 Update CONFLICTS lines and add a SUPERSEDES line for p5-experimental. 2014-05-30 09:48:52 +00:00
adam
76d367c268 Changes 5.20.0:
Experimental Subroutine signatures
subs now take a prototype attribute
More consistent prototype parsing
rand now uses a consistent random number generator
New slice syntax
Experimental Postfix Dereferencing
Unicode 6.3 now supported
New \p{Unicode} regular expression pattern property
Better 64-bit support
use locale now works on UTF-8 locales
use locale now compiles on systems without locale ability
More locale initialization fallback options
-DL runtime option now added for tracing locale setting
-F now implies -a and -a implies -n
$a and $b warnings exemption
2014-05-29 07:57:07 +00:00
martin
6a7d497625 Remove the "pthreads broken on vax" hack for ancient NetBSD versions 2014-05-22 08:17:10 +00:00
obache
1e33a2232d Move pthread.buildlink3.mk from module.mk to buildlink3.mk with conditionally.
* In module.mk, pthread is marked as direct dependency unconditionally for
  packages using module.mk.  It is unwanted behavior.
* Include pthread.buildlink3.mk in buildlink3.mk only for the case perl5 is
  built with "threads".

Fixes potential unwanted dependeny on pthread using perl5/module.mk.
2014-05-21 13:35:23 +00:00
richard
29bdadd6f8 revbump perl after update 2014-05-10 13:45:57 +00:00
richard
3f9e468dc1 Put back -fstack-protector on solaris in perl after libtool fix. 2014-05-10 13:39:57 +00:00
obache
e2427df2c7 Hack for PR pkg/48500 is also required by OpenBSD-*-alpha. 2014-05-10 11:44:29 +00:00
tron
d51ca115e3 Don't enable "dtrace" support by default under Solaris 10. It doesn't
build for me on an UltraSPARC system.
2014-04-09 21:05:58 +00:00
ryoon
25bd848e4b Fix build under SCO OpenServer 5.0.7/3.2
and add workaround for empty result of nl_langinfo(CODESET).
This workaround is needed for devel/gtexinfo.
2014-03-14 22:41:10 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
obache
97c6ce0d2b put a apace before "||" operator. 2014-02-17 04:28:45 +00:00
sno
e48f869867 Minor cleanup op PERL5_MODULE_TYPE & Bundle support for M::B 2014-02-16 22:40:57 +00:00
schnoebe
595729284c pkg/48500: add a hack on NetBSD/alpha to add the gcc compiler flag
-fno-tree-ter, removing the alignment warnings printed by the
	    NetBSD/alpha kernel when perl was executed.

	    bump PKGREVISION
2014-01-31 17:38:48 +00:00
ryoon
923314ccf3 Fix OpenBSD 5.3 build and supress warning under OpenBSD 5.4
* OpenBSD has no libdb like NetBSD
2014-01-24 16:37:19 +00:00
adam
21a3ad9e07 Changes 5.18.2:
* B has been upgraded from version 1.42_01 to 1.42_02.
* B::Concise has been upgraded from version 0.95 to 0.95_01.
* English has been upgraded from version 1.06 to 1.06_01. This fixes an error about the performance of $`, $&, and c<$'>.
* File::Glob has been upgraded from version 1.20 to 1.20_01.
Bugs fixed:
* Perl 5.18.1 introduced a regression along with a bugfix for lexical subs. Some B::SPECIAL results from B::CV::GV became undefs instead. This broke Devel::Cover among other libraries.
* Perl 5.18.0 introduced a regression whereby [:^ascii:], if used in the same character class as other qualifiers, would fail to match characters in the Latin-1 block.
* Perl 5.18.0 introduced a regression when using ->SUPER::method with AUTOLOAD by looking up AUTOLOAD from the current package, rather than the current package’s superclass.
* Perl 5.18.0 introduced a regression whereby -bareword was no longer permitted under the strict and integer pragmata when used together.
* Previously PerlIOBase_dup didn't check if pushing the new layer succeeded before (optionally) setting the utf8 flag. This could cause segfaults-by-nullpointer.
* A buffer overflow with very long identifiers has been fixed.
* A regression from 5.16 in the handling of padranges led to assertion failures if a keyword plugin declined to handle the second ‘my’, but only after creating a padop.
* The construct $r=qr/.../; /$r/p is now handled properly, an issue which had been worsened by changes 5.18.0.
2014-01-13 09:59:16 +00:00
richard
db2c9c493e recent versions of dtrace seem to require the actual probe objects to build 2014-01-04 15:10:05 +00:00
richard
7e47fc4ad8 recent versions of dtrace seem to require the actual probe objects to build 2014-01-04 14:33:21 +00:00
obache
9b57b4605a Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-12-09 14:17:41 +00:00
obache
f12c04646b Mark p5-* packages older than CORE module one as CONFLICTS.
Base on 'corelist -v 5.18.1'.
2013-11-22 12:03:34 +00:00
joerg
14d41452c2 Don't include -Wl,--whole-archive in the default LDFLAGS on NetBSD.
It breaks the build in packages when the compiler doesn't implicitly
disable it later. Bump revision.
2013-11-13 13:36:02 +00:00
jperkin
30f77313a2 Disable -fstack-protector on SunOS, it causes more trouble than its worth.
Bump PKGREVISION.
2013-11-01 14:02:37 +00:00
jperkin
31a4aee45f Ensure -lssp is added to $lddlflags on SunOS when using -fstack-protector,
fixing a number of packages with __stack_chk_* symbol failures.

Bump PKGREVISION.
2013-09-11 14:31:31 +00:00
adam
498438e3b7 Changes 5.18.1:
* B has been upgraded from 1.42 to 1.42_01, fixing bugs related to lexical subroutines.
* Digest::SHA has been upgraded from 5.84 to 5.84_01, fixing a crashing bug.
* Module::CoreList has been upgraded from 2.89 to 2.96.
* Starting in v5.18.0, a construct like /[#](?{})/x would have its # incorrectly interpreted as a comment. The code block would be skipped, unparsed. This has been corrected.
* A number of memory leaks related to the new, experimental regexp bracketed character class feature have been plugged.
* The OP allocation code now returns correctly aligned memory in all cases for struct pmop. Previously it could return memory only aligned to a 4-byte boundary, which is not correct for an ithreads build with 64 bit IVs on some 32 bit platforms. Notably, this caused the build to fail completely on sparc GNU/Linux.
* The debugger's man command been fixed. It was broken in the v5.18.0 release. The man command is aliased to the names doc and perldoc - all now work again.
* @_ is now correctly visible in the debugger, fixing a regression introduced in v5.18.0's debugger.
* Fixed a small number of regexp constructions that could either fail to match or crash perl when the string being matched against was allocated above the 2GB line on 32-bit systems.
* Perl v5.16 inadvertently introduced a bug whereby calls to XSUBs that were not visible at compile time were treated as lvalues and could be assigned to, even when the subroutine was not an lvalue sub. This has been fixed.
* Perl v5.18 inadvertently introduced a bug whereby dual-vars (i.e. variables with both string and numeric values, such as $! ) where the truthness of the variable was determined by the numeric value rather than the string value.
* Perl v5.18 inadvertently introduced a bug whereby interpolating mixed up- and down-graded UTF-8 strings in a regex could result in malformed UTF-8 in the pattern: specifically if a downgraded character in the range \x80..\xff followed a UTF-8 string
* Lexical constants (my sub a() { 42 }) no longer crash when inlined.
* Parameter prototypes attached to lexical subroutines are now respected when compiling sub calls without parentheses. Previously, the prototypes were honoured only for calls with parentheses.
* Syntax errors in lexical subroutines in combination with calls to the same subroutines no longer cause crashes at compile time.
* The dtrace sub-entry probe now works with lexical subs, instead of crashing
* Undefining an inlinable lexical subroutine (my sub foo() { 42 } undef &foo) would result in a crash if warnings were turned on.
* Deep recursion warnings no longer crash lexical subroutines.
2013-08-31 15:28:32 +00:00
christos
efb1a8c670 Update function invisibility list. This time for host releated reentrant
functions, recently introduced.
2013-08-19 12:31:11 +00:00
martin
4d9bb2a6c6 Revert previous - I am unable to fix it for real and give up. 2013-08-19 08:22:09 +00:00
martin
039357c319 Try to fix building perl on NetBSD/current - but not quite good enough,
somebody please fix the remaining fallout!
2013-08-18 19:42:30 +00:00
ryoon
6ce0a8659f Fix build under GNU/kFreeBSD.
* Add variable for GNU/kFreeBSD.
2013-07-26 10:59:53 +00:00
wiz
336127f444 Fix netbsd hints:
--whole-archive is a linker flag, not a compiler flag.
Bump PKGREVISION.

Hopefully improves p5-gettext with clang from pkgsrc.
2013-07-18 22:17:33 +00:00
adam
397d1e1d89 patch-hints_darwin.sh again 2013-07-18 07:21:02 +00:00
adam
04e0dd2d69 Don't set MACOSX_DEPLOYMENT_TARGET on Darwin 2013-07-17 20:06:05 +00:00