summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2003-05-27Modify lang/perl5 and lang/perl58 to install man3 pages again. However,jlam1-6/+15
we install them into a private directory under the the normal Perl installation and configure Perl so that site-specific Perl man3 pages are installed into a private directory within site_perl. This avoids manpage conflicts between 3rd-party modules, the standard Perl library, and other packages. The changes implement some unfinished work that is alluded to in the MakeMaker.pm module by allowing "installsiteman{1,3}dir" to be set during the configuration process and are used to provide default values for INSTALLSITEMAN{1,3}DIR during the Perl module build/install process. Bump PKGREVISIONs for lang/perl5 and lang/perl58.
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam1-3/+4
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2003-02-27fix some indenting and strip unneeded parens.grant1-11/+11
2003-02-21adopt some patches from FreeBSD ports, allowing this to build ongrant1-1/+2
FreeBSD 5.0 (and probably Solaris w/ gcc3). also, make really sure we don't try to use perl's malloc().
2003-02-17convert to use test target from bsd.pkg.mkdillo1-5/+2
addresses PR pkg/19416
2002-12-23Whitespace fixcjep1-4/+4
2002-12-23mark this NOT_FOR_PLATFORM Darwin, since the earliest version of perlgrant1-1/+3
with Darwin support is perl58 and attempting to build this version fails.
2002-10-23correct HOMEPAGE.grant1-2/+2
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam1-2/+3
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-01-30Move post-patch target that modified files to pre-configure, so that thejlam1-2/+2
result of "make patch" can be used for "mkpatches".
2002-01-28Update lang/perl5 to 5.6.1nb7. Changes from version 5.6.1nb6 includejlam1-2/+2
changing the default module/library search path to have site_perl come before the standard directories. In other words, the previous search path on an i386 was: /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl but it is now: /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd /usr/pkg/lib/perl5/site_perl/5.6.1 /usr/pkg/lib/perl5/site_perl /usr/pkg/lib/perl5/5.6.1/i386-netbsd /usr/pkg/lib/perl5/5.6.1 The rationale for this is that when we install a module that is newer than one in the standard library, the new module goes into the site_perl directory as it's an add-on module. However, we can't use the newer module without modifying either the scripts of the perl environment to find the newer module explicitly because of the order of the library search path: the site_perl directories come after the standard directories. The normal solution is to directly replace the module in the standard library with the newer module. However, this isn't really on option when installing via pkgsrc because the older module files are owned by the perl package. By placing the the site_perl directories before the standard directories, newer modules that we install via pkgsrc are simply found before the older ones in the standard library.
2001-12-14Typo.jlam1-3/+3
2001-12-14Use 'rm -f' instead of 'rm' in case the files don't already exist.jlam1-2/+2
2001-12-14Install perl5.6.1 as statically linked if perl is statically linked. Alsojlam1-8/+22
provide a way to avoid building a statically linked perl on platforms where it doesn't matter. Currently, by empirical evidence in pkg/14871, this includes mipsel and probably mipseb. Other platforms can add themselves if/when they discover it doesn't matter for them either. Closes pkg/14871 by John Hawkinson <jhawk@mit.edu>.
2001-12-03Use PKGREVISION to manage package-specific versions numbers that differjlam1-3/+2
from the distfile version number. G/C the version number stuff from perl5/Makefile.common, preserving only PERL5_DIST_VERS as it's still used by libperl.
2001-10-21Add 'dl' to the LIBSWANTED.SunOS line.veego1-2/+2
Now the perl configure script finds a dlopen on SunOS and builds a shared libperl, which makes it possible to build mod_perl.
2001-10-14Add a patch to the perl package that causes perl modules from CPAN to linkjlam1-2/+6
directly against -lperl when built. Combined with the previous update of perl to add ${LOCALBASE}/lib to the rpath when creating shared libraries/modules, these two changes make using mod_perl.so (ap-perl) more painless. All perl shared modules now contain interlibrary dependencies to the shared libraries they need. Instead of needing (at least on ELF): LoadFile !/usr/lib/libm.so LoadFile lib/perl5/5.6.1/i386-netbsd/CORE/libperl.so ... # Any other libraries needed by perl shared modules need to listed # with LoadFile here. ... LoadModule perl_module lib/httpd/mod_perl.so AddModule mod_perl.c you'd need only the last two lines as the mod_perl authors intended. I've tested this patch for many weeks now, successfully loading and using the p5-Apache-ASP module as my test bed, and I haven't noticed any problems with normal perl usage. Also comment the Makefile slightly better.
2001-10-02The previous change (making ExtUtils recognize -Wl,-R as the prefix for ajlam1-2/+2
linker rpath flag) deserves a bump in the package version number. Go to perl-5.6.1nb5.
2001-10-01Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include:jlam1-6/+19
* Ensure that shared objects/libraries created by perl Makefiles include the correct run-time library search path by also including the local libraries directories. For example, shared objects are linked on ELF platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just "cc -L/usr/pkg/lib" as before.
2001-09-26The perl Configure script has a check for several directories, includingjlam1-1/+2
/usr/local/scripts and forces the scripts to be installed there if it exists. We override this by explicitly setting "scriptdir" to "${PREFIX}/bin". This should fix the problem noted in pkg/14050 by Brian Stark <bpstark@pacbell.net>.
2001-09-17Note that if LIBSWANTED.${OPSYS} isn't defined, then the perl defaults forjlam1-2/+3
that OS is used.
2001-09-17Solve SunOS build problem in a much cleaner way by predefining "libswanted"tron1-1/+3
for Perl's configuration script as suggested by Johnny C. Lam in private e-mail.
2001-09-12Update perl to 5.6.1nb3. User-visible changes from the previous versionjlam1-8/+15
include: - Re-adding ${LOCALBASE}/include and ${LOCALBASE}/lib to the local compiler search paths, Other changes include: - Migrating the setting to not install man3 pages from patch-ab into the package Makefile so that they aren't installed across all pkgsrc platforms. - Better document SYSLIBPATH.${OPSYS}.
2001-09-06Note conflict with perl-base-*, pointed out by David Brownleejlam1-2/+2
<abs@formula1.com>.
2001-09-05Update perl to 5.6.1nb2. Changes from perl-5.6.1nb1 include undoing thejlam1-12/+116
perl mess I created a year ago and making this a vanilla perl installation again, and explicitly setting the system library path so that /usr/local/* doesn't appear anywhere. The installed perl library now also includes CGI.pm-2.752. The www/p5-CGI package installs in to ${PERL5_SITEARCH} so there is no conflict with the "standard" CGI.pm.
2001-07-09Perl5 needs a "nb1" version bump to make sure everything which depends ontv1-2/+2
it is updated not to have the perl-mk dependency. This braindead nature of pkgsrc to register all dependencies recursively into binary pkgs *will* be fixed.
2001-07-09* Make perl stop installing anything in the man3 directory. It's startingtv1-2/+1
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-06-07Update perl to 5.6.1. Changes from perl-5.6.0 include many bug fixes,jlam1-10/+8
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-05-20Update perl to 5.6.0nb6 as a result of requiring the new version of perl-basejlam1-3/+3
(5.6.0nb2).
2001-04-22Update dependency on perl-mk to 1.1.jlam1-2/+2
2001-04-12Modified the link process of the perl executable so that all libgcc.a ismanu1-3/+3
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-02-20Bump to 5.6.0nb4: Depend on perl-mk.wiz1-2/+3
2001-02-17Move the COMMENT from being in its own file to a definition in theagc1-1/+2
package Makefile.
2000-09-05Update perl5 to 5.6.0nb3. This is now a meta-pkg which pulls in perl-base,jlam1-47/+16
as well as other modules from a standard installation of perl-5.6.0.
2000-08-30Use PERL5_PACKLIST. Goodbye unsightly PLIST-* !!jlam1-15/+6
2000-08-30Update perl to 5.6.0nb2 from perl5-current. Changes from version 5.00404jlam1-9/+34
(from commit log of perl5-current/Makefile): * Interpreter cloning, threads, and concurrency * Lexically scoped warning categories * Unicode and UTF-8 support * Support for interpolating named characters * "our" declarations * Support for strings represented as a vector of ordinals * Improved Perl version numbering system * New syntax for declaring subroutine attributes * File and directory handles can be autovivified * open() with more than two arguments * 64-bit support * Large file support * Long doubles * "more bits" * Enhanced support for sort() subroutines * C<sort $coderef @foo> allowed * File globbing implemented internally * POSIX character class syntax [: :] supported * Improved C<qw//> operator * pack() format 'Z' supported * pack() format modifier '!' supported * pack() and unpack() support counted strings * Comments in pack() templates * Weak references * Binary numbers supported * Lvalue subroutines * Some arrows may be omitted in calls through references * Boolean assignment operators are legal lvalues * exists() is supported on subroutine names * exists() and delete() are supported on array elements * Pseudo-hashes work better * Automatic flushing of output buffers * Better diagnostics on meaningless filehandle operations * Where possible, buffered data discarded from duped input filehandle * eof() has the same old magic as <> * binmode() can be used to set :crlf and :raw modes * C<-T> filetest recognizes UTF-8 encoded files as "text" * system(), backticks and pipe open now reflect exec() failure * Improved diagnostics * Diagnostics follow STDERR * syswrite() ease-of-use * Better syntax checks on parenthesized unary operators * Bit operators support full native integer width * Improved security features * C<require> and C<do> may be overridden * $^X variables may now have names longer than one character * New variable $^C reflects C<-c> switch * New variable $^V contains Perl version as a string * Optional Y2K warnings * Modules * Pragmata * dprofpp * find2perl * h2xs * perlcc * perldoc * The Perl Debugger * Simple sort() using { $a <=> $b } and the like are optimized * Optimized assignments to lexical variables * Faster subroutine calls * -Dusethreads means something different * New Configure flags * Threadedness and 64-bitness now more daring * Long Doubles ... See 'perldoc perldelta' for a full list.
2000-03-27Adapt to new handling of "${CONFIGURE}".tron1-2/+2
2000-01-18Downgrade "perl" package to working version 5.00404.tron1-14/+5
2000-01-18Change PLIST handling to differentiate between ELF and a.out, as well asjlam1-3/+12
shared and static (NOPIC). Works with ELF on -current now. NOPIC and SunOS support may be broken; someone else with the necessary resources should test and possibly fix these cases.
2000-01-17Upgrade perl to 5.005_03christos1-3/+3
1999-12-08Use the shared PLIST on Solaris and remove Socket from the egrep -v.veego1-3/+3
1999-08-31Modifications for better Solaris support, to search for a fuller list ofagc1-2/+3
libraries during configuration, and enabling dynamic support.
1999-08-13Fix the PLIST in the solaris caseabs1-1/+11
1999-05-04s/netbsd/${LOWER_OPSYS}/abs1-2/+3
1999-04-27Pass "${CFLAGS}" to configure script as suggested by Adam Ciarcinski.tron1-2/+2
1999-03-08s/make/${MAKE}/gagc1-2/+2
1999-02-04Re-enable 5.003 bin-compat. Though it's not *supposed* to do so,tv1-2/+2
compiling modules with this turned on makes the resulting modules or libperl-linking programs reference 5.003 namespace symbols.
1998-12-02Do not use Perl's malloc (will interfere with modules that interact withtv1-2/+2
code that is outside of Perl's reach). The BSD malloc is Fine.
1998-12-02Do not enable binary compatibility with Perl 5.003. We have never had atv1-2/+2
Perl 5.003 pkg, so the compatibility is moot; turning it on exposes namespace polluting symbols.
1998-12-02Revert to building libperl statically, and clean up.tv1-16/+2