summaryrefslogtreecommitdiff
path: root/mk/tools/perl.mk
AgeCommit message (Collapse)AuthorFilesLines
2005-08-06Update lang/perl5 to 5.8.7. Changes from version 5.8.6 include updatesjlam1-7/+1
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-05-22Some packages want to embed the path to the perl tool in scripts butjlam1-1/+13
don't want to depend on perl, e.g. devel/cvs. Provide values for TOOLS_PERL5 and PERL5 even if the package doesn't ask for the perl tool.
2005-05-22The path to perl is now passed via CONFIGURE_ENV as of revision 1.9 ofjlam1-7/+1
mk/tools/replace.mk.
2005-05-21Grammar 101 -- sentences should end in a period.jlam1-2/+2
2005-05-21Add TNF copyright to the new tools framework makefiles.jlam1-1/+37
2005-05-20Move the PLIST_SUBST lines that substitute for PERL5_* variables fromjlam1-1/+6
perl5/module.mk into tools/perl.mk so that the substitution occurs for all packages that use perl.
2005-05-19Merge most of perl.mk into replace.mk and leave perl.mk to containjlam1-35/+16
the extra bits required by packages that use perl. This causes PKGSRC_USE_TOOLS+=perl to work properly.
2005-05-18Goal: Remove USE_PERL5 from pkgsrc.jlam1-9/+7
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-18perl.mk was moved from being included by bsd.tools.mk to replace.mk.jlam1-6/+1
Since replace.mk has its own loop to add dependencies, we can remove the one from perl.mk.
2005-05-17Move perl handling into replace.mk. We now can specify USE_TOOLS+=perljlam1-12/+22
to note that we need the perl binary and the associated PERL5 and TOOLS_PERL5 variable definitions.
2005-05-14BUILDLINK_DEPENDS.* can be lists, so iterate over the lists when creatingjlam1-2/+7
a proper BUILD_DEPENDS or DEPENDS list.
2005-05-12Teach the new tools framework more about perl. We include perl5/vars.mkjlam1-2/+11
in mk/tools/perl.mk since many packages expect to be able to use the variables defined in vars.mk, but those variables can only be defined if PERL5 is correctly defined, and that is only true after it is set here.
2005-05-11Use EVAL_PREFIX to be pkgviews-friendly.jlam1-2/+3
2005-05-10TOOLS_CREATE has replaced TOOLS_{SYMLINK,WRAP}.jlam1-2/+2
2005-05-02If we only define the "TOOL" variable if the real command exists, thenjlam1-3/+1
the "TOOL" variables won't be properly defined for the top-leve make after returning from making the install-depends target if we're using the pkgsrc-supplied tool. Define the "TOOL" variable unconditionally instead.
2005-05-02PERL5 shouldn't be recursively defined.jlam1-2/+2
2005-04-28Define TOOLS_DEPENDS.* to be the dependency that will be added, andjlam1-1/+8
filter out dependencies that have already been added.
2005-04-27Clarify why we want the perl symlink.jlam1-3/+3
2005-04-27Split out the perl handling to a separate file, since we always use thejlam1-0/+18
pkgsrc perl, and it isn't really like any of the other tools that we replace based on a system-/pkgsrc-supplied distinction.