summaryrefslogtreecommitdiff
path: root/lang/perl5
AgeCommit message (Collapse)AuthorFilesLines
2005-08-18Remove the empty $sitearch directory even if it's outside of ${PREFIX} --jlam1-6/+2
the perl installation will always create it and it's surprising when it suddenly appears on your filesystem.
2005-08-12Restore perllocal.pod-generating behavior of ExtUtils::MakeMakerjlam11-128/+54
because some Perl modules make some (bad) assumptions about the structure of a MakeMaker-generated Makefile. Instead, remove the perllocal.pod file whenever a p5-* module or perl itself is removed. While here, rename some of the install/deinstall templates to more descriptive names. Bump the PKGREVISION to 3.
2005-08-08Alter the configuration so that:jlam3-6/+58
$(prefix) == $(siteprefix) == $(vendorprefix) so that if a perl module is configured with "perl Makefile.PL PREFIX=...", then that single PREFIX definition will override all three of the above, and files will be properly installed into the correct relative path. Also, patch a test so that it understands the different behavior of the pkgsrc ExtUtils::MakeMaker module. Bump the PKGREVISION to 2.
2005-08-07Fix an error in ExtUtils::MakeMaker that didn't output the definitionsjlam3-8/+43
for INSTALLSITESCRIPT and INSTALLVENDORSCRIPT in MakeMaker-generated Makefiles. Bump the PKGREVISION to 1.
2005-08-07Remove redundant patch.jlam2-34/+1
2005-08-06Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updatesjlam26-438/+893
for many "core" modules, UTF-8 and Unicode bugfixes, and ithreads bugfixes. The major changes are in the pkgsrc infrastructure to handle Perl and Perl modules. All pkgsrc-installed Perl modules are now installed in "vendor" directories, and the perl interpreter has been modifed to search for libraries in the following order: site, vendor, perl. The Perl library is stored in a directory that is named for the Perl ABI version associated with the Perl release, so any updates of Perl to newer versions can be done "in-place" as long as Perl ABI version remains the same. All Perl scripts and man pages are stored in locations that won't conflict between site, vendor, and perl modules, and a new utility perllink(1) now manages symlinks to those scripts and man pages under the usual ${LOCALBASE}/bin and ${LOCALBASE}/man/man1. PERL5_SITEPREFIX may be set to the prefix where local, site-specific modules will be installed, e.g. PERL5_SITEPREFIX=/usr/local. Note that modules installed here are completely unmanaged by pkgsrc. Update the buildlink and tool dependencies on perl to require perl>=5.8.7 to reflect the new locations for Perl modules and the Perl shared library.
2005-07-16Get rid of USE_PERL5. The new way to express needing the Perl executablejlam1-5/+1
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
2005-07-15Drop support for TOOLS_DEPMETHOD.<tool>. The new way to specify ajlam1-4/+1
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier to the tool name, e.g., USE_TOOLS+= perl:run Tools without modifiers or with an explicit ":build" modifier will cause build dependencies (BUILD_DEPENDS) on those tools to be added. This makes the notation a bit more compact.
2005-07-13Turn PERL5_PACKLIST into a relative path instead of an absolute path.jlam1-3/+5
These paths are now relative to PERL5_PACKLIST_DIR, which currently defaults to ${PERL5_SITEARCH}. There is no change to the binary packages.
2005-07-13sort out 32- and 64bit flags for IRIXjschauma1-2/+6
2005-06-30Use "test -h", instead of "test", to test symlinks. This should haveminskim1-3/+3
been committed with the previous change. Noted by jlam@. Bump PKGREVISION.
2005-06-30Make sure that the path to "test" in ${TOOLS_DIR} is not embedded inminskim1-3/+4
Config.pm. Bump PKGREVISION.
2005-06-24Drop the perl-5.6.x package from pkgsrc. Remove lang/perl58 and updatejlam36-714/+893
lang/perl5 to perl-5.8.6nb4. Modify packages that referred to lang/perl58 to point to lang/perl5 instead.
2005-05-27Quoting fix.jlam1-2/+2
2005-05-27.undef is unnecessary since the temporary variable used in the for loopjlam1-4/+1
goes away by itself.
2005-05-25Add RMD160 checksum.wiz1-1/+2
2005-05-22Remove the old tools framework and references to _USE_NEW_TOOLS.jlam1-7/+2
2005-05-20Move the PLIST_SUBST lines that substitute for PERL5_* variables fromjlam1-5/+1
perl5/module.mk into tools/perl.mk so that the substitution occurs for all packages that use perl.
2005-05-19Split the conditional which seems to occasionally be malformed. Thisjlam1-3/+5
probably has something to do with how make deals with short-circuit evaluation of conditionals, but it's a simple matter to split the conditional since USE_PERL5 is eventually going away.
2005-05-19When perl5/buildlink3.mk is included by a package Makefile, the buildlinkjlam1-3/+2
framework will handle adding the correct dependency.
2005-05-18Goal: Remove USE_PERL5 from pkgsrc.jlam3-6/+54
Plan: (1) Change USE_PERL5=build into USE_TOOLS+=perl. (2) Change all other USE_PERL5 into including perl5/buildlink3.mk. Possibly, for packages that don't actually build anything with perl, but merely require it for the perl interpreter, we can instead do: USE_TOOLS+= perl TOOLS_DEPMETHOD.perl= DEPENDS but this is more verbose than simply including the perl5/buildlink3.mk file. Move the PERL5_REQD computation into a lang/perl5/version.mk file, and only do the USE_PERL5 logic in bsd.pkg.use.mk if we're not using the new tools framework. This consolidates all of the perl-handling into two places -- lang/perl5 and mk/tools/perl.mk.
2005-05-12We don't need to check for whether the variables are defined beforejlam1-5/+1
using them, as these values are referenced till later when the variables will definitely have the correct value. This removes the need to include vars.mk here.
2005-05-12Allow vars.mk to be included multiple times. We avoid excessivejlam1-35/+34
computation by caching the variables using MAKEVARS.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-01BUILDING_PERL5 is _always_ defined now, so test for a specific value.heinz1-2/+2
This fixes (at least) the build of mail/p5-razor-agents on NetBSD 1.6.2. Ok'ed by jlam.
2005-03-24Don't check USE_BUILDLINK3 any more.tv1-6/+2
2005-03-24Perl's Configure needs to be restricted from finding libraries thatjlam1-3/+5
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-02-26Enforce the values that PERL5_MODULE_TYPE can take.jlam1-1/+6
2005-02-25Depend on latest p5-Module-Build to get .packlist files.wiz1-2/+2
2005-02-24* Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pmjlam3-50/+89
does. This allows us to use dynamic PLISTs for Perl modules that are built using Module::Build. Bump the PKGREVISION of p5-Module-Build to 1. * Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that names the framework used to build/install the module. * Split out the variables set in perl5/buildlink3.mk that are also used by perl5/module.mk into a new file perl5/vars.mk. Move some PERL5_* variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk. This just centralizes the common PERL5_* definitions into a single file location. * Convert the known packages that use Module::Build to set PERL5_MODULE_TYPE and PERL5_PACKLIST: devel/p5-Class-Container devel/p5-Exception-Class devel/p5-Log-Dispatch devel/p5-Array-Compare textproc/p5-Pod-Coverage www/p5-Apache-Session-Wrapper www/p5-MasonX-Request-WithApacheSession
2005-02-23Remove :Q that broke things, introduced in previous.wiz1-2/+2
2005-02-21Add basic Module::Build support; set PERL5_USES_MODULE_BUILDwiz1-2/+29
for packages that want it.
2005-01-03Drop maintainership of perl-5.6.x. We should move pkgsrc to usingjlam1-2/+2
perl58 for everything, and remove this package altogether.
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-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-19Create a modifier PERL5_OPTIONS that specifies properties of the perljlam2-1/+33
installation needed when including perl5/buildlink3.mk. The only option currently supported is "threads", which implies that a perl that supports threads is required. The requirement is checked at pre-install time using an INSTALL script template by both the package build and the binary package. Add PERL5_OPTIONS+=threads to both devel/p5-SDL and graphics/p5-GD since those modules require a perl that supports threads.
2004-12-15Remove duplicate "the" in comment.wiz1-2/+2
2004-12-12Change ALL_TARGET to BUILD_TARGET.kristerw1-2/+2
2004-10-01Remove MIPSpro bits that added -n32 or -64 depending on the ABI; thisjlam1-9/+1
handling has been moved into mk/compiler/mipspro.mk.
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-07-06Remove references to buildlink2.wiz1-3/+1
2004-07-06Unused.wiz1-73/+0
2004-07-03Do not unset USE_GCC3, just complain if buildingwiz2-12/+7
with GCC on AIX. Okayed by grant.
2004-06-09PR pkg/25428: Georg Schwarz, remove an extra '\' in front of ${TRUE},xtraeme1-2/+2
to fix the problems seen in the PLIST files.
2004-05-05Set LC_ALL=C while doing perl5-configure. This fixes the problem thatrecht1-1/+2
the PERL defintionen in the Makefile resulting from Makefile.PL gets set to 0 if LANG || LC_<something> is set to something else (read non english). ok'd by jlam@
2004-05-05Rework how proper ABI flags are set on IRIX, using patch provided byjschauma1-3/+8
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-26Allow perl-thread to be an acceptable perl when checking dependencies.jlam2-4/+4
2004-04-23Add Interix to NOT_FOR_PLATFORM; porting will be done on only perl 5.8.tv1-2/+2
2004-04-12Address PR pkg/25147:jschauma1-2/+2
only set mipspro specific compiler flags when using mipspro. Otherwise, defaults will do.