summaryrefslogtreecommitdiff
path: root/lang/perl58
AgeCommit message (Collapse)AuthorFilesLines
2005-05-11Move the arm-specific hack into the hacks.mk file, and properly documentjlam2-8/+11
what is happening.
2005-05-09Modify previous: only enable -fno-cse-skip-blocks when compiler isxtraeme1-1/+5
gcc-3.x.
2005-05-09Apply patch from Richard Earnshaw on port-arm@ to fix build onxtraeme1-1/+5
NetBSD/arm.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-24Perl's Configure needs to be restricted from finding libraries thatjlam1-2/+4
we don't want it to find. The usual buildlink techniques don't work here since the Configure script uses a file existence test instead of a linker test to see if the library exists. For each operating system that we support in pkgsrc, there should be corresponding LIBSWANTED.${OPSYS} and SYSLIBPATH.${OPSYS} definitions in the Perl package Makefiles to ensure we only get what we ask for. In this particular case, add the appropriate definitions for OpenBSD so that we don't pick up random libraries that may also be installed on the system.
2005-03-23Forcibly set the locations for the version-specific directories.jlam1-5/+5
Before, we were possibly using the values gleaned from a pre-existing perl binary via perl5/vars.mk (pulled in by bsd.pkg.use.mk), which would lead to the new perl using the pre-existing perl's version-specific libraries. Bump the PKGREVISION of lang/perl5 to 11 and lang/perl58 to 4.
2005-03-19Make this compile on NetBSD 3.kleink2-4/+4
2005-03-09Some patches to make perl58 build on AIX 4.3.3. Tested build only on 4.3.3.garbled3-7/+41
2005-02-24Add RMD160 digestsagc1-1/+2
2005-02-02Fix a local root exploit and a buffer overflow (CAN-2005-{0155,0156}).jlam3-3/+28
Patches from Nicholas Clark in private mail. Bump the PKGREVISION to 3.
2005-01-21Add usemymalloc=false for Interix; this is now part of the hints filetv2-4/+5
officially submitted to perl.org. (Nonfunctional change, as pkgsrc already sets -Uusemymalloc at build time.)
2005-01-18Teach perl58 about DragonFlyBSD. Patches provided by Todd Willey injlam7-38/+174
PR pkg/28963 with minor modifications by me. Also teach all of the BSDs (and Interix) to pass the rpath to libperl.so if a module needs to link with libperl.so when built with MakeMaker.pm. Bump the PKGREVISION to 2.
2005-01-17Under IRIX64, this really needs -Dcc='${CC} -64' even if '-64' is injschauma1-2/+2
CFLAGS.
2005-01-06Fix email address in header of hints/interix.sh.tv2-4/+4
2005-01-06Add LIBSWANTED and SYSLIBPATH for Interix to fix configure step.tv1-1/+3
2005-01-04Set LC_ALL to "C". Otherwise, the package doesn't build due tominskim1-2/+2
warnings from perl. See PR pkg/24211 for related discussion.
2005-01-04Fix instances of insecure use of /tmp that is subject to symlink attacksjlam5-5/+88
due to race conditions [CAN-2004-0976]. Also fix builds on *BSD boxes without a hostname set. Bump the PKGREVISION to 1.
2004-12-29Update lang/perl58 to perl-5.8.6. Selected hanges from version 5.8.5jlam5-30/+39
include: * By default, platforms that have native threads will build a threaded perl. Note that you will likely have to rebuild your Perl modules after this update unless your Perl is already threaded. * The perl interpreter is now more tolerant of UTF-16-encoded scripts. * Several core modules were updated. * Perl has a new -dt command-line flag, which enables threads support in the debugger. * "foreach" on threads::shared array used to be able to crash Perl. This bug has now been fixed. * A regexp in "STDOUT"'s destructor used to coredump, because the regexp pad was already freed. This has been fixed. * Using "delete" on an array no longer leaks memory. A "pop" of an item from a shared array reference no longer causes a leak. * "eval_sv()" failing a taint test could corrupt the stack - this has been fixed. * On platforms with 64 bit pointers numeric comparison operators used to erroneously compare the addresses of references that are overloaded, rather than using the overloaded values. This has been fixed. * From now on all applications embedding perl will behave as if perl were compiled with -DPERL_USE_SAFE_PUTENV.
2004-12-20actually bump PKGREVISION of perl58 and BUILDLINK_RECOMMENDED to addressgrant1-2/+2
PR pkg/28619. this should have been part of the PKGREVISION bump of p5-*.
2004-12-18Native threading on VAX isn't ready for primetime in NetBSD>=2.0.jlam1-1/+12
Build Perl without threads-support until VAX native threads are known to work. The hack was added to the Makefile instead of to hacks.mk since it sets a variable which is used within the package Makefile.
2004-12-15Remove duplicate "the" in comment.wiz1-2/+2
2004-12-11The Open Group says that localtime_r() doesn't need to ensure thatjlam3-3/+22
the tz* related variables are initialized when it is invoked. In fact, Solaris does do this while NetBSD 2.0 does not. Explicitly call tzset() before calling localtime_r() to initialize the local timezone data. This fixes the output of: perl -e '$t = localtime($^T); print "$t\n";' ; date to always print the time in the local timezone twice instead of the first time in UTC and the second in the local timezone. Bump the PKGREVISION.
2004-12-10On NetBSD/alpha, building perl with -mieee causes perl to not passjlam1-1/+12
the test for integer.pm (pkg/28498). Until this is fixed in either NetBSD, GCC or perl, strip out -mieee from the compiler command line. This "fixes" pkg/28498.
2004-12-10On VAX, feeding a base "NaN" to nawk causes nawk to core dump sincejlam1-1/+17
it tries to interpret it as a number, which causes an FP exception. Fix this by replacing "NaN" with "*NaN*" which hides the problem. This makes perl Configure and build correctly on NetBSD-2.0/vax. Fix provided by John Klos in private email.
2004-12-10Don't bother with using perl5/module.mk and PERL5_PACKLIST to generatejlam2-25/+26
the PLIST and use custom post-install code instead. This avoids needing to guess at the correct value PERL5_ARCHLIB before perl has been configured and built. This should fix PR pkg/28433.
2004-12-10Nuke bsd.perl.mk... we compute these values where they're needed injlam2-13/+3
perl5/buildlink3.mk already, so no need to generate this file to be included by bsd.pkg.mk anymore. Bump the PKGREVISION.
2004-11-26fix hints to not append CFLAGS to LDFLAGS on OSF1 when calling thegrant2-1/+15
linker because the it does not understand all the compiler flags. fixes build on OSF1.
2004-11-25Perl is all about loadable perl modules, so include dlopen.buildlink3.mk.jlam1-14/+10
If we include pthread.buildlink3.mk, then build with Perl ithreads support. Bump the PKGREVISION. Nuke the perl58-thread package. The perl package can now be forcibly built with thread support by setting PERL5_USE_THREADS to "yes".
2004-11-23Modify the probed linker flags by using a call-back script that isjlam3-9/+33
generated by the hints file and invoked from within the Configure script. This "pkgsrc.cbu" script is called after all other call-back scripts are called, so it's the last to modify ldflags and lddlflags. This should fix builds on non-NetBSD platforms.
2004-11-17Move selection of the default perl58 (whether it is threaded or not) intojlam1-12/+2
bsd.pkg.mk. lang/perl58 now always builds perl58, while lang/perl58-thread builds perl58-thread (POLS). Fixes PR pkg/28343.
2004-11-14Narrow down the scope of the powerpc-codegen hack to only NetBSD/powerpcjlam1-2/+2
as there aren't reports from other OSes yet (it's likely okay using Darwin).
2004-11-14Remove optimisation flags from GCC command line when building on powerpcjlam1-1/+11
to avoid a codegen bug: http://mail-index.netbsd.org/port-macppc/2004/10/18/0001.html
2004-11-14Separate out hacks from package Makefile into hacks.mk.jlam2-24/+27
2004-11-12Whitespace nit.jlam1-4/+4
2004-11-12Default to building perl-thread on platforms with native pthreads.jlam1-2/+12
Perl-5.8.x and up are supposed to properly support pthreads if they're available. The GNU pth support isn't quite there yet, so we can't build with thread support on all platforms.
2004-11-12When building perl-thread, ensure that PTHREAD_{CFLAGS,LDFLAGS,LIBS}jlam1-31/+37
are properly recorded in Config.pm. These values will then be used when building perl modules using ExtUtils::MakeMaker. Bump the PKGREVISION.
2004-11-10Nuke the code that rebuilt the perl binary as a statically-linkedjlam1-55/+4
executable. Until someone produces benchmarks that show that this actually makes a difference, this is just added complexity with no measurable benefit. Bump the PKGREVISION.
2004-11-07Update to 5.8.5:wiz6-44/+24
Incompatible Changes There are no changes incompatible with 5.8.4. Core Enhancements Perl's regular expression engine now contains support for matching on the intersection of two Unicode character classes. You can also now refer to user-defined character classes from within other user defined character classes. Modules and Pragmata * Carp improved to work nicely with Safe. Carp's message reporting should now be anomaly free - it will always print out line number information. * CGI upgraded to version 3.05 * charnames now avoids clobbering $_ * Digest upgraded to version 1.08 * Encode upgraded to version 2.01 * FileCache upgraded to version 1.04 * libnet upgraded to version 1.19 * Pod::Parser upgraded to version 1.28 * Pod::Perldoc upgraded to version 3.13 * Pod::LaTeX upgraded to version 0.57 * Safe now works properly with Carp * Scalar-List-Utils upgraded to version 1.14 * Shell's documentation has been re-written, and its historical partial auto-quoting of command arguments can now be disabled. * Test upgraded to version 1.25 * Test::Harness upgraded to version 2.42 * Time::Local upgraded to version 1.10 * Unicode::Collate upgraded to version 0.40 * Unicode::Normalize upgraded to version 0.30 Utility Changes Perl's debugger The debugger can now emulate stepping backwards, by restarting and rerunning all bar the last command from a saved command history. h2ph h2ph is now able to understand a very limited set of C inline functions -- basically, the inline functions that look like CPP macros. This has been introduced to deal with some of the headers of the newest versions of the glibc. The standard warning still applies; to quote h2ph's documentation, you may need to dicker with the files produced. Installation and Configuration Improvements Perl 5.8.5 should build cleanly from source on LynxOS. Selected Bug Fixes * The in-place sort optimisation introduced in 5.8.4 had a bug. For example, in code such as @a = sort ($b, @a) the result would omit the value $b. This is now fixed. * The optimisation for unnecessary assignments introduced in 5.8.4 could give spurious warnings. This has been fixed. * Perl should now correctly detect and read BOM-marked and (BOMless) UTF-16 scripts of either endianness. * Creating a new thread when weak references exist was buggy, and would often cause warnings at interpreter destruction time. The known bug is now fixed. * Several obscure bugs involving manipulating Unicode strings with substr have been fixed. * Previously if Perl's file globbing function encountered a directory that it did not have permission to open it would return immediately, leading to unexpected truncation of the list of results. This has been fixed, to be consistent with Unix shells' globbing behaviour. * Thread creation time could vary wildly between identical runs. This was caused by a poor hashing algorithm in the thread cloning routines, which has now been fixed. * The internals of the ithreads implementation were not checking if OS-level thread creation had failed. threads->create() now returns undef in if thead creation fails instead of crashing perl. New or Changed Diagnostics * Perl -V has several improvements o correctly outputs local patch names that contain embedded code snippets or other characters that used to confuse it. o arguments to -V that look like regexps will give multiple lines of output. o a trailing colon suppresses the linefeed and ';' terminator, allowing embedding of queries into shell commands. o a leading colon removes the 'name=' part of the response, allowing mapping to any name. * When perl fails to find the specified script, it now outputs a second line suggesting that the user use the -S flag: $ perl5.8.5 missing.pl Can't open perl script "missing.pl": No such file or directory. Use -S to search $PATH for it. Changed Internals The Unicode character class files used by the regular expression engine are now built at build time from the supplied Unicode consortium data files, instead of being shipped prebuilt. This makes the compressed Perl source tarball about 200K smaller. A side effect is that the layout of files inside lib/unicore has changed. pkgsrc: fails the same test that 5.8.4 fails (sigaction).
2004-11-04Removed an extra line accidentally left while debugging (oops).jklos1-3/+1
2004-10-28Remove double empty line.wiz1-2/+1
2004-10-28Make sure that STATIC_PERL is set to no on PowerPC platforms so thatjklos1-2/+5
it compiles properly on 2.0 and current systems. PowerPC processors have lots of registers, so this isn't even a loss at all.
2004-10-01Remove MIPSpro bits that added -n32 or -64 depending on the ABI; thisjlam1-12/+2
handling has been moved into mk/compiler/mipspro.mk.
2004-09-08Don't check in /usr/local/lib on FreeBSD for system libraries.jlam1-1/+2
2004-08-27Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,jlam1-3/+3
which are the full option names used to set rpath directives for the linker and the compiler, respectively. In places were we are invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is inserted in case the flag is a word, e.g. -rpath. The default values of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the compiler that you use. They may be overridden on a ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG, respectively. Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-06-25Update perl to 5.8.4nb1abs1-2/+6
On >= NetBSD 2.0, if PERL5_USE_THREADS is _not_ defined, add pthread to libs. This does not make perl threaded, but permits it to link against libraries which are. This makes p5-GD (which pulls in threaded freetype) work again.
2004-06-17Fix PERL5_ARCHLIB in lang/perl58-thread, which contains the suffixxtraeme1-1/+3
"-thread-multi", with this change games/frozen-bubble finally works, yay!. Bump PKGREVISION.
2004-06-09make this compile with perl58-thread by excluding the _r functions forchristos2-6/+37
protoent and servent. Also there is a stray setrgid there which looks correct to me.
2004-05-05Rework how proper ABI flags are set on IRIX, using patch provided byjschauma1-11/+15
Georg Schwarz in PR pkg/25057: - check for PKGSRC_COMPILER instead of USE_MIPSPRO: USE_MIPSPRO would imply the former, but not the other way around. That is, it's conceivable to have a system that has PKGSRC_COMPILER set (to mipspro), but not USE_MIPSPRO. - Allow passing of -Duse64bitint if ABI == 64 even if the compiler is not mipspro. (Note: we could test this on a non-IRIX 64bit platform by setting ABI to '64'. I think that should work, too, but I can't test that right now.)
2004-04-28Don't use poll() on Interix.tv2-4/+5
2004-04-26Fix conflicts.jlam1-9/+1