pkgsrc/devel/p5-Module-Build/Makefile

27 lines
669 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2009/05/06 06:55:50 sno Exp $
DISTNAME= Module-Build-0.33
PKGNAME= p5-${DISTNAME}000
SVR4_PKGNAME= p5mob
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
MAINTAINER= pkgsrc-users@NetBSD.org
Update to 0.2608: 0.2608 Wed Jan 26 19:46:09 CST 2005 - Add workaround for test files because Devel::Cover causes require to fail when the argument to require is an expression involving File::Spec. We now assign the result of the File::Spec call to a variable and then call require with that variable. - Tilde-expansion is now performed on arguments passed to a compatibility-Makefile.PL [Spotted by Sam Vilain] - We now run the 'gzip' and 'tar' values through split_like_shell() when running the 'dist' action, so that e.g. the 'gzip' value can be set to something like "gzip -f --best" and it'll work correctly. [Spotted by Chris Dolan] - Work around some bad mojo between Fedora Core [with its very long @INC] and old versions of Test::Harness [with its propensity to compound the number of @INC entries] that produced an "argument list too long" error during testing. [assisted by Ville Skytta, David Golden, & Randy Sims] - Killed an infinite loop that would happen in y_n() in interactive mode if the author provided no default value. [Max Maischein] 0.2607 (Bug fix release in 0.26 series) Sat Dec 18 14:14:09 CST 2004 - Instead of freezing @INC in the 'Build' script to the value it had when Build.PL was run, we now just add those additional values that aren't part of the default compiled-in @INC. [Michael Schwern] - The run_perl_script() method will now propagate any extra entries in @INC (such as those added by "use lib" or the -I command-line switch) to the subprocess. This helps situations in which you want to tell the subprocess where to find a certain module, for instance. [Michael Schwern] 0.2606 (Bug fix release in 0.26 series) Tue Dec 7 22:33:11 CST 2004 - Fixed a linking bug on Win32, in which compiled C code object files never got linked in with the modules being built. [Dominic Mitchell] - Fixed a bug in the new_from_context() method in which any arguments passed made us die. [Spotted by Jos Boumans] 0.2605 (Bug fix release in 0.26 series) Tue Nov 30 07:16:13 CST 2004 - Fixed a bug in which zero-length arguments for hash-valued parameters (e.g. " --config foo= ") weren't being allowed. - The tests now play better with environments in which version.pm is pre-loaded, like in bleadperl. [John Peacock & Michael Schwern] - Fixed a syntax error in one of the tests under perl 5.005. 0.2604 (Bug fix release in 0.26 series) Wed Nov 17 14:32:42 CST 2004 - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in which an array reference passed as an argument was returned as an array reference, rather than as a list. [Spotted by Steve Hay] - module_name() will now return '' instead of undef when module_name is not set. This eliminates a couple uninitialized-value warnings. [Suggested by Michael Schwern] - The expand_test_dir() method will now skip dotfiles (like ._foo.t, which sometimes gets automatically created on Mac systems) when 'recursive_test_files' is in effect. [Tom Insam] 0.2603 (Bug fix release in 0.26 series) Mon Nov 15 10:28:00 CST 2004 - Added documentation for the new_from_context() method. - Completely rewrote the split_like_shell() method for the Windows platform so it works like the command.com shell. [Randy Sims] 0.2602 (Bug fix release in 0.26 series) Thu Nov 4 11:19:29 CST 2004 - The two bug fixes in 0.2601 gnashed against each other incorrectly, resulting in a Win32 bug in split_like_shell(). Fixed. [Spotted by Steve Hay & Randy Sims] - Removed a couple of 'use warnings' statements from the code - they were causing compile failures on 5.005_04, where warnings.pm isn't available. [Blair Zajac] 0.2601 (Bug fix release in 0.26 series) Wed Nov 3 20:09:27 CST 2004 - Fixed some backslash problems with split_like_shell() on Win32. [Steve Hay] - Fixed a bug in split_like_shell() in which leading whitespace was creating an empty word, manifesting as something like "gcc - no such file or directory" during tests. [Spotted by Warren L. Dodge] 0.26 Sat Oct 9 17:51:01 CDT 2004 - Removed some language from the Module::Build::Compat documentation that encouraged people to include a Build.PL without a Makefile.PL. Also changed "a replacement for MakeMaker" to "an alternative to MakeMaker" in the main documentation, which is basically what I meant all along (i.e. a replacement for MakeMaker in your particular build process - MakeMaker is never going to be fully replaced in the perl world at large, of course), but some people got the impression I was a little more truculent toward MakeMaker than I really am. - Added the formal concepts of "features" and "config data" for distributions. This allows the module author to define a certain set of features that the user can switch on and off (usually according to whether they have the proper prerequisites for them), and to save build-time configuration information in a standardized format. See the main documentation of Module::Build for more details. (Note that the name of this system was called "BuildConfig" for a while in beta, but now it's called "ConfigData".) - Added an 'auto_features' capability, which simplifies the process of defining features that depend on a set of prerequisites. - Added the 'get_options' parameter, which lets module authors declare certain command-line arguments their Build.PL can accept [David Wheeler] - Changed the split_like_shell() method to use the shellwords() function from Text::ParseWords (a core module since 5.0), which does a much better job than the split() we were using. - Added a 'testpod' action, which checks the syntactic validity of all POD files in the distribution using Test::Pod. This eliminates the need for doing so in a regression test. [Initial patch by Mark Stosberg] - Added a process_files_by_extension() method, which generalizes the kind of processing (essentially just copying) that happens for .pm and .pod files, and makes it available to other user-defined types of files. See the new cookbook entry. - Improved compatibility with version.pm when authors are using version objects as their $VERSION variables. Now version_from_file() can deal with these objects. Currently we stringify them right away, but perhaps in the future we will preserve them as objects for a while. - During 'distdir' and 'distmeta' actions, die a bit more gracefully if there's no MANIFEST (i.e. explicitly say that a MANIFEST is required). [Spotted by Adrian Howard] - Eliminated a recursive dependency between creating the MANIFEST file and creating the META.yml file. [Spotted by Dave Rolsky] - On Win32, where a single directory might be known variously as "Module-Build-0.25_03" or "MODULE~1.25_", we now use Win32::GetShortPathName($cwd) to verify that the 'Build' script is being run from the correct directory, rather than just a string comparison. - The add_to_cleanup() method will now accept glob()-style patterns in addition to explicit filenames. Also documented the fact that they can be specified in either Unix-style or native-style notation. - Passing a PREFIX value to a pass-through Makefile 'make install' now has the same effect as passing it to 'perl Makefile.PL' (it dies with a helpful message). - Added the 'testcover' action, which runs a test suite using Devel::Cover. [Dave Rolsky] - Added the 'lib' and 'arch' installation directories to the search path for the 'diff' action, since they won't necessarily (though they usually will) be in @INC at installation time. [Suggested by Kevin Baker] - The "=head3" POD directive isn't supported in older podlators (particularly Pod::Man), so we don't use it anymore. - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron Savage] - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron Savage] - Backup files from Emacs, containing the string '.#' in their names, should no longer find their way into the blib/ directory (and from there into installation directories). - Worked around an unpleasant interaction between version.pm and the version-checking code that makes sure Module::Build's version hasn't changed during the lifetime of the 'Build' script. [Reported by Trevor Schellhorn] - Fixed a problem in htmlify_pods() that would produce test failures on Cygwin (and probably elsewhere). [Yitzchak Scott-Thoennes] - Fixed a test failure on Cygwin (and probably elsewhere) in t/compat.t, resulting from empty environment variables being set to the empty string (as opposed to simply being unset) by their mere presence in the "EXPORT:" list. - Fixed a fatal error that occurred when the author specified 'dist_author' manually in their Build.PL script. [Spotted by Ron Savage] - The 'provides' section of the META.yml file wasn't being built properly on Win32, because of a mismatch between URL-format and native-format pathnames. Fixed. [Reported by Robert Rothenberg] - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being output even when the Foo.c file wasn't being rebuilt. It's now fixed. - Fixed a couple of places in Compat.pm where it could have forgotten which perl interpreter it had been run with ($^X isn't very trustworthy). - On some systems, the way we updated the timestamp on the "lib/Foo.bs" file (one of the output files for XS-based modules) was failing. It's been replaced by a simple call to utime(). - Fixed a problem in t/compat.t that prevented it from being run individually using 'make test TEST_FILES=t/compat.t'. The problem was that a couple environment variables (TEST_FILES, MAKEFLAGS) were being passed through to subprocesses, and confused them. - Fixed an important typo in the documentation for the 'install_base' parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman] - The pass-through Makefiles (type 'small' or 'passthrough') now support the TEST_FILES parameter to 'make test'. - Fixed a fatal error that would occur on perl 5.005 when building HTML documentation, because its version of Pod::Html was old and didn't like some of the parameters we fed it. [Spotted by Blair Zajac] - The final line of the generated pass-through Makefile was missing its trailing newline, which is now fixed. [Chip Salzenberg] - We now depend on YAML version at least 0.35 and at most version 0.49, so that we don't pick up a new (and backward-incompatible) beta version from CPAN. - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used only once', and one in PPMMaker about $^V being undefined. [Blair Zajac] - Added a couple temporary output files from HTML documentation generation to the cleanup list. [Toby Ovod-Everett] - The PodParser module will now only extract paragraphs in the 'AUTHOR' section of the pod if they contain an '@' character. This tends to do a better job, heuristically speaking, of returning relevant stuff. - Added regression tests and a helper method ( add_build_elements() ) for adding new elements to the build process. Also some documentation. - Wrote a recipe in the Cookbook for adding new elements to the build process, and a recipe for changing the order in which the steps in the build process will occur. 0.25 Sun Apr 25 11:12:36 CDT 2004 - During the 'distdir' action, if no MANIFEST.SKIP file exists, we will now create a reasonable default one. [Randy Sims] - In Makefile compatibility mode, some arguments (like UNINST, TEST_VERBOSE, etc.) given to 'make' are now recognized and passed through to Module::Build. [Randy Sims] - The regression tests now make sure that several pass-through Makefile.PL parameters are dealt with correctly. - Added support for the 'LIB' parameter to passthrough Makefile.PLs. [Spotted by Jesse Erlbaum] - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was supposed to make it die with a helpful error message, but instead it just ignored it and blindly tried to install to the wrong place. This is now fixed. [Spotted by Jesse Erlbaum] - Added an extra_compiler_flags() accessor method. - If the 'recursive_test_files' option was turned on, the test files weren't sorted, but returned in an apparently random order. Now they're sorted. [Martyn Peck] - Documented the 'tar' and 'gzip' parameters to the 'dist' and 'ppmdist' actions. - The generation of HTML documentation now works (it was accidentally partially implemented with an itchy patch-application finger in 0.24). [Randy Kobes] - Fixed a fatal bug when building META.yml with YAML.pm and 'dynamic_config' is set. [Reported by Jaap Karssenberg] - Fixed some incorrect error messages that occurred when compiling/linking C sources went awry. - If the author uses a custom builder subclass, that subclass will now be loaded correctly in the passthrough Makefile.PL if the author uses the 'small' or 'passthrough' Makefile.PL options in Module::Build::Compat. [Martyn Peck and Jaap Karssenberg] - If the author uses a custom builder subclass created dynamically through the subclass() method, passthrough Makefile.PLs (of type 'passthrough' or 'small') didn't work properly, because the custom builder module wouldn't be loaded at the right time. This has been fixed. [Reported by Toby Ovod-Everett] - In M::B-generated 'traditional' Makefile.PLs, the entries in 'PREREQ_PM' are now sorted ASCIIbetically rather than randomly. - The install_types() method will now return any additional types given as 'install_path' arguments, as well as all elements of the current 'install_sets' entry. This makes it easier to add new types of installable objects to the mix. - As a consequence of the previous change, there is no longer any need to have an explicit 'install_types' data member, so it has been removed. - In the second example code for the Module::Build->subclass() method, the Module::Build module needed to be loaded before calling its methods. [John Peacock] - Fixed minor error in the POD structure of Module::Build and Module::Build::Platform::VMS docs. 0.24 Wed Feb 25 15:57:00 CST 2004 - Fixed a problem with incude_dirs not being propagated to the 'ccs' file when compiling XS files on Win32. [Randy Sims and Steve Hay] - In 0.23, Module::Build::Compat->fake_makefile() started choking when no 'build_class' parameter was supplied in the Makefile.PL. Since these Makefile.PLs still exist on CPAN, we now default 'build_class' to 'Module::Build', which was the old 0.22 behavior anyway. [Reported by Martin Titz and Jeremy Seitz] - Added documentation for the 'include_dirs' parameter to new(). [Steve Hay] - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside pass-through Makefiles. [Randy Sims] - The 'autosplit' parameter now accepts an array reference if multiple files should be split. [Jaap Karssenberg] - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH} (if $^X isn't absolute), and $Config{perlpath}, in that order. Also, we now make darn sure the result is the same version of perl, by checking Config::myconfig() for a match against the current perl. [Reported by Edward Sabol] - Fixed a fatal error on Win32 (and any other platform that doesn't define an installation location for Unix-style man pages) during installation. 0.23 Sun Feb 8 22:01:18 CST 2004 - Fixed a compatibility problem in pass-through Makefiles (created by Module::Build::Compat). Some 'make' utilities (for example, BSD make) didn't like a '@' by itself on a line, so we stole some 'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold] - Added a 'ppm_dist' action, which just makes the PPD file and then makes a tarball out of the blib/ directory. [Randy Sims] - The @INC of the parent process is now propagated to child processes when processing *.PL files. [Reported by Jaap Karssenberg] - We now only attempt to fix the shebang line on a script if the shebang line matches the regex /perl/i . This fixes some instances where people put shell scripts in their distributions. [Jaap Karssenberg] - We no longer generate a 'requires', 'recommends', 'conflicts', etc. entry in the META.yml file if there's no data to go in it. - Added a documentation reference to Michael Schwern's wiki for tips on conversion from MakeMaker to M::B. [Randy Sims] - If there are script_files, we now add EXE_FILES to the 'traditional' Makefile.PL generated by M::B::Compat. [Suggested by Yuval Kogman] - Documented the 'test_files' parameter to new(). [Reported by Tony Bowden] - Fixed a problem in "Build help <action>", which didn't find the correct help chunk if <action> was the final element in a POD list. [Jaap Karssenberg] - Fixed a problem in the get_action_docs() method which gave incorrect results if the method was called more than once in the same program. - Fixed a problem in which actions defined by user subclasses wouldn't be available via the pass-through Makefiles created by Module::Build::Compat. [Reported by Jaap Karssenberg] - We now use Data::Dumper instead of our own ad-hoc serialization routines to create the 'traditional' Makefile.PL arguments. [Suggested by Yuval Kojman] 0.22 Sat Jan 10 22:05:39 CST 2004 - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now works when present in $Config{ld}. This solves a problem on Mac OS X 10.3. [Reported by Adam Foxson] - The have_c_compiler() now also tests whether the linker seems to work too. - Fixed a problem with creating the distribution tarball in which permissions would usually be all read-only. We now use our own file-copying routines rather than those in ExtUtils::Manifest, because those do some annoying extra permissions-setting stuff for no apparent reason. It makes me happy that this was a very very easy patch to make. [Reported by Thomas Klausner] - The compile_c() method now includes $Config{cccdlflags} in its command invocation. It's usually empty, but not always, so we didn't notice for a while. [Richard Clamp] - On some platforms it's common to have a $Config{make} defined, but no 'make' utility actually available. We now detect this and skip some 'make' compatibility tests. [Randy Sims] - Fixed a spurious testing failure on non-Unix platforms that happened because we accidentally call localize_file_path() on empty strings in the test suite. [Spotted by Randy Sims on Windows] - Made the 'name', 'abstract', 'author', and 'version' properties required when building a PPD file. [Spotted by Randy Sims, Dave Rolsky, & Glenn Linderman] - When building a 'traditional' Makefile.PL with Module::Build::Compat, we now use 'VERSION_FROM' when possible, rather than always using 'VERSION'. This way the Makefile.PL doesn't have to get modified every release. - Made some fixups to the 'PPM' info-file, improving compatibility with ActiveState's PPM tools. [Randy Sims, Glenn Linderman] - The 'dist_author' property can now accept multiple authors, see the docs for more info. [Randy Sims] - If the user doesn't have YAML.pm installed during ACTION_dist, we now create a minimal YAML.pm anyway, without any dependency information. - The 'distribution_type' field is no longer created in META.yml files, in accordance with the finding made at the London CLPAN meeting that it's essentially meaningless and ill-defined. - The 'dist' action now accepts an optional 'tar' parameter to use a system utility for building the tarball, and a 'gzip' parameter for compressing it. If these are used, Archive::Tar won't be invoked. This was added because Archive::Tar is producing some very non-cross-platform tarballs that many tar utilities can't handle. - During testing, if YAML.pm isn't installed, then we won't try making a tarball either, since this would invoke YAML to create the META.yml file. - Fixed a problem with chmod() being called incorrectly on MacOS (i.e. MacPerl, not Mac OS X). [Spotted by Paul Sanford Toney] - Fixed a problem with the --config flag not being treated properly (essentially ignored) on the command line for 'perl Build.PL' or 'Build <action>'. [Spotted by Jakub Bogusz] - Added a new config() method to get at the Build object's notion of the %Config hash. - Test::Harness is starting to contend for the Most Crotchety Module Award. Work around a few of its nits when setting harness switches. [Spotted by Diab Jerius] - Now the Build script will die() if we're run from the wrong directory, rather than trying to chdir() to what it thinks is the right directory and do its work there. See https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan] - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich] - On OS/2, disable C compilation, since apparently it isn't working there. [Reported by Ilya Zakharevich] - Inserted a comment into auto-generated Makefile.PLs saying it was auto-generated. [Randy Sims] - Fixed some annoying behavior in generated passthrough Makefile.PLs when the user chose not to install Module::Build, or if installation failed. [Reported by Ilya Zakharevich and Richard Clamp] - Moved the documentation for 'codebase' to the section where it's relevant. [Randy Sims, Glenn Linderman] - Fixed a have_c_compiler() failure on some platforms, we now define a boot_compilet() function (since we're compiling a library, not an executable). [Randy Sims] - Added a recipe to the Module::Build::Cookbook describing how to maintain compatibility with older versions of CPAN.pm [Jim Cromie] - Removed caveat about "looking for alternatives" in how hashes are specified on the command line, since an alternative has been found. - Previously most warnings about optional prerequisites looked like they were actually error messages about required prerequisites. This has been corrected. [Reported again by Sagar Shah] - Added support for building XS (and C in general) stuff on AIX. This was done by a small reorganization of prelink_c() method from Windows.pm to Build.pm, and it is only invoked for the platforms that need it invoked. AIX also massages some very naughty bits (MakeMaker macro variables) in $Config{lddlflags} that should never have been put there, but alas, they're there, so we find & resolve them. - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms. This basically means that most platform-specific operations will be done in a Unix-like manner. - Pass-through Makefiles will now die() when they're given a PREFIX parameter, and suggest using 'destdir' or 'install_base' instead. Previously they just ignored the parameter and tried to install to the default location, which is clearly not what the user wanted. - Updated my email address in the documentation to a more recent variant. - Add NetBSD to the list of Unix-like systems. [Adrian Bunk] - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez] - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's available on the system. [initial patch by Randy Sims] - Fixed a little scalar/list buglet in a documentation example.
2005-02-19 13:40:47 +01:00
HOMEPAGE= http://search.cpan.org/dist/Module-Build/
COMMENT= Build and install Perl modules
LICENSE= gnu-gpl-v2 # OR artistic
PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
Update to 0.2608: 0.2608 Wed Jan 26 19:46:09 CST 2005 - Add workaround for test files because Devel::Cover causes require to fail when the argument to require is an expression involving File::Spec. We now assign the result of the File::Spec call to a variable and then call require with that variable. - Tilde-expansion is now performed on arguments passed to a compatibility-Makefile.PL [Spotted by Sam Vilain] - We now run the 'gzip' and 'tar' values through split_like_shell() when running the 'dist' action, so that e.g. the 'gzip' value can be set to something like "gzip -f --best" and it'll work correctly. [Spotted by Chris Dolan] - Work around some bad mojo between Fedora Core [with its very long @INC] and old versions of Test::Harness [with its propensity to compound the number of @INC entries] that produced an "argument list too long" error during testing. [assisted by Ville Skytta, David Golden, & Randy Sims] - Killed an infinite loop that would happen in y_n() in interactive mode if the author provided no default value. [Max Maischein] 0.2607 (Bug fix release in 0.26 series) Sat Dec 18 14:14:09 CST 2004 - Instead of freezing @INC in the 'Build' script to the value it had when Build.PL was run, we now just add those additional values that aren't part of the default compiled-in @INC. [Michael Schwern] - The run_perl_script() method will now propagate any extra entries in @INC (such as those added by "use lib" or the -I command-line switch) to the subprocess. This helps situations in which you want to tell the subprocess where to find a certain module, for instance. [Michael Schwern] 0.2606 (Bug fix release in 0.26 series) Tue Dec 7 22:33:11 CST 2004 - Fixed a linking bug on Win32, in which compiled C code object files never got linked in with the modules being built. [Dominic Mitchell] - Fixed a bug in the new_from_context() method in which any arguments passed made us die. [Spotted by Jos Boumans] 0.2605 (Bug fix release in 0.26 series) Tue Nov 30 07:16:13 CST 2004 - Fixed a bug in which zero-length arguments for hash-valued parameters (e.g. " --config foo= ") weren't being allowed. - The tests now play better with environments in which version.pm is pre-loaded, like in bleadperl. [John Peacock & Michael Schwern] - Fixed a syntax error in one of the tests under perl 5.005. 0.2604 (Bug fix release in 0.26 series) Wed Nov 17 14:32:42 CST 2004 - Fixed a split_like_shell() bug introduced in 0.2603 for Windows, in which an array reference passed as an argument was returned as an array reference, rather than as a list. [Spotted by Steve Hay] - module_name() will now return '' instead of undef when module_name is not set. This eliminates a couple uninitialized-value warnings. [Suggested by Michael Schwern] - The expand_test_dir() method will now skip dotfiles (like ._foo.t, which sometimes gets automatically created on Mac systems) when 'recursive_test_files' is in effect. [Tom Insam] 0.2603 (Bug fix release in 0.26 series) Mon Nov 15 10:28:00 CST 2004 - Added documentation for the new_from_context() method. - Completely rewrote the split_like_shell() method for the Windows platform so it works like the command.com shell. [Randy Sims] 0.2602 (Bug fix release in 0.26 series) Thu Nov 4 11:19:29 CST 2004 - The two bug fixes in 0.2601 gnashed against each other incorrectly, resulting in a Win32 bug in split_like_shell(). Fixed. [Spotted by Steve Hay & Randy Sims] - Removed a couple of 'use warnings' statements from the code - they were causing compile failures on 5.005_04, where warnings.pm isn't available. [Blair Zajac] 0.2601 (Bug fix release in 0.26 series) Wed Nov 3 20:09:27 CST 2004 - Fixed some backslash problems with split_like_shell() on Win32. [Steve Hay] - Fixed a bug in split_like_shell() in which leading whitespace was creating an empty word, manifesting as something like "gcc - no such file or directory" during tests. [Spotted by Warren L. Dodge] 0.26 Sat Oct 9 17:51:01 CDT 2004 - Removed some language from the Module::Build::Compat documentation that encouraged people to include a Build.PL without a Makefile.PL. Also changed "a replacement for MakeMaker" to "an alternative to MakeMaker" in the main documentation, which is basically what I meant all along (i.e. a replacement for MakeMaker in your particular build process - MakeMaker is never going to be fully replaced in the perl world at large, of course), but some people got the impression I was a little more truculent toward MakeMaker than I really am. - Added the formal concepts of "features" and "config data" for distributions. This allows the module author to define a certain set of features that the user can switch on and off (usually according to whether they have the proper prerequisites for them), and to save build-time configuration information in a standardized format. See the main documentation of Module::Build for more details. (Note that the name of this system was called "BuildConfig" for a while in beta, but now it's called "ConfigData".) - Added an 'auto_features' capability, which simplifies the process of defining features that depend on a set of prerequisites. - Added the 'get_options' parameter, which lets module authors declare certain command-line arguments their Build.PL can accept [David Wheeler] - Changed the split_like_shell() method to use the shellwords() function from Text::ParseWords (a core module since 5.0), which does a much better job than the split() we were using. - Added a 'testpod' action, which checks the syntactic validity of all POD files in the distribution using Test::Pod. This eliminates the need for doing so in a regression test. [Initial patch by Mark Stosberg] - Added a process_files_by_extension() method, which generalizes the kind of processing (essentially just copying) that happens for .pm and .pod files, and makes it available to other user-defined types of files. See the new cookbook entry. - Improved compatibility with version.pm when authors are using version objects as their $VERSION variables. Now version_from_file() can deal with these objects. Currently we stringify them right away, but perhaps in the future we will preserve them as objects for a while. - During 'distdir' and 'distmeta' actions, die a bit more gracefully if there's no MANIFEST (i.e. explicitly say that a MANIFEST is required). [Spotted by Adrian Howard] - Eliminated a recursive dependency between creating the MANIFEST file and creating the META.yml file. [Spotted by Dave Rolsky] - On Win32, where a single directory might be known variously as "Module-Build-0.25_03" or "MODULE~1.25_", we now use Win32::GetShortPathName($cwd) to verify that the 'Build' script is being run from the correct directory, rather than just a string comparison. - The add_to_cleanup() method will now accept glob()-style patterns in addition to explicit filenames. Also documented the fact that they can be specified in either Unix-style or native-style notation. - Passing a PREFIX value to a pass-through Makefile 'make install' now has the same effect as passing it to 'perl Makefile.PL' (it dies with a helpful message). - Added the 'testcover' action, which runs a test suite using Devel::Cover. [Dave Rolsky] - Added the 'lib' and 'arch' installation directories to the search path for the 'diff' action, since they won't necessarily (though they usually will) be in @INC at installation time. [Suggested by Kevin Baker] - The "=head3" POD directive isn't supported in older podlators (particularly Pod::Man), so we don't use it anymore. - Fixed a typo & improved the docs in the SUBCLASSING section. [Ron Savage] - Added the '.tmp' suffix to the default MANIFEST.SKIP file, which should avoid adding things like pod2htmi.tmp to the MANIFEST [Ron Savage] - Backup files from Emacs, containing the string '.#' in their names, should no longer find their way into the blib/ directory (and from there into installation directories). - Worked around an unpleasant interaction between version.pm and the version-checking code that makes sure Module::Build's version hasn't changed during the lifetime of the 'Build' script. [Reported by Trevor Schellhorn] - Fixed a problem in htmlify_pods() that would produce test failures on Cygwin (and probably elsewhere). [Yitzchak Scott-Thoennes] - Fixed a test failure on Cygwin (and probably elsewhere) in t/compat.t, resulting from empty environment variables being set to the empty string (as opposed to simply being unset) by their mere presence in the "EXPORT:" list. - Fixed a fatal error that occurred when the author specified 'dist_author' manually in their Build.PL script. [Spotted by Ron Savage] - The 'provides' section of the META.yml file wasn't being built properly on Win32, because of a mismatch between URL-format and native-format pathnames. Fixed. [Reported by Robert Rothenberg] - The progress message "lib/Foo.xs -> lib/Foo.c" was previously being output even when the Foo.c file wasn't being rebuilt. It's now fixed. - Fixed a couple of places in Compat.pm where it could have forgotten which perl interpreter it had been run with ($^X isn't very trustworthy). - On some systems, the way we updated the timestamp on the "lib/Foo.bs" file (one of the output files for XS-based modules) was failing. It's been replaced by a simple call to utime(). - Fixed a problem in t/compat.t that prevented it from being run individually using 'make test TEST_FILES=t/compat.t'. The problem was that a couple environment variables (TEST_FILES, MAKEFLAGS) were being passed through to subprocesses, and confused them. - Fixed an important typo in the documentation for the 'install_base' parameter ('libdoc' and 'bindoc' were switched). [Ray Zimmerman] - The pass-through Makefiles (type 'small' or 'passthrough') now support the TEST_FILES parameter to 'make test'. - Fixed a fatal error that would occur on perl 5.005 when building HTML documentation, because its version of Pod::Html was old and didn't like some of the parameters we fed it. [Spotted by Blair Zajac] - The final line of the generated pass-through Makefile was missing its trailing newline, which is now fixed. [Chip Salzenberg] - We now depend on YAML version at least 0.35 and at most version 0.49, so that we don't pick up a new (and backward-incompatible) beta version from CPAN. - Squashed a warning in t/basic.t about '"Foo::Module::VERSION" used only once', and one in PPMMaker about $^V being undefined. [Blair Zajac] - Added a couple temporary output files from HTML documentation generation to the cleanup list. [Toby Ovod-Everett] - The PodParser module will now only extract paragraphs in the 'AUTHOR' section of the pod if they contain an '@' character. This tends to do a better job, heuristically speaking, of returning relevant stuff. - Added regression tests and a helper method ( add_build_elements() ) for adding new elements to the build process. Also some documentation. - Wrote a recipe in the Cookbook for adding new elements to the build process, and a recipe for changing the order in which the steps in the build process will occur. 0.25 Sun Apr 25 11:12:36 CDT 2004 - During the 'distdir' action, if no MANIFEST.SKIP file exists, we will now create a reasonable default one. [Randy Sims] - In Makefile compatibility mode, some arguments (like UNINST, TEST_VERBOSE, etc.) given to 'make' are now recognized and passed through to Module::Build. [Randy Sims] - The regression tests now make sure that several pass-through Makefile.PL parameters are dealt with correctly. - Added support for the 'LIB' parameter to passthrough Makefile.PLs. [Spotted by Jesse Erlbaum] - Passing a 'PREFIX' parameter to a passthrough Makefile.PL was supposed to make it die with a helpful error message, but instead it just ignored it and blindly tried to install to the wrong place. This is now fixed. [Spotted by Jesse Erlbaum] - Added an extra_compiler_flags() accessor method. - If the 'recursive_test_files' option was turned on, the test files weren't sorted, but returned in an apparently random order. Now they're sorted. [Martyn Peck] - Documented the 'tar' and 'gzip' parameters to the 'dist' and 'ppmdist' actions. - The generation of HTML documentation now works (it was accidentally partially implemented with an itchy patch-application finger in 0.24). [Randy Kobes] - Fixed a fatal bug when building META.yml with YAML.pm and 'dynamic_config' is set. [Reported by Jaap Karssenberg] - Fixed some incorrect error messages that occurred when compiling/linking C sources went awry. - If the author uses a custom builder subclass, that subclass will now be loaded correctly in the passthrough Makefile.PL if the author uses the 'small' or 'passthrough' Makefile.PL options in Module::Build::Compat. [Martyn Peck and Jaap Karssenberg] - If the author uses a custom builder subclass created dynamically through the subclass() method, passthrough Makefile.PLs (of type 'passthrough' or 'small') didn't work properly, because the custom builder module wouldn't be loaded at the right time. This has been fixed. [Reported by Toby Ovod-Everett] - In M::B-generated 'traditional' Makefile.PLs, the entries in 'PREREQ_PM' are now sorted ASCIIbetically rather than randomly. - The install_types() method will now return any additional types given as 'install_path' arguments, as well as all elements of the current 'install_sets' entry. This makes it easier to add new types of installable objects to the mix. - As a consequence of the previous change, there is no longer any need to have an explicit 'install_types' data member, so it has been removed. - In the second example code for the Module::Build->subclass() method, the Module::Build module needed to be loaded before calling its methods. [John Peacock] - Fixed minor error in the POD structure of Module::Build and Module::Build::Platform::VMS docs. 0.24 Wed Feb 25 15:57:00 CST 2004 - Fixed a problem with incude_dirs not being propagated to the 'ccs' file when compiling XS files on Win32. [Randy Sims and Steve Hay] - In 0.23, Module::Build::Compat->fake_makefile() started choking when no 'build_class' parameter was supplied in the Makefile.PL. Since these Makefile.PLs still exist on CPAN, we now default 'build_class' to 'Module::Build', which was the old 0.22 behavior anyway. [Reported by Martin Titz and Jeremy Seitz] - Added documentation for the 'include_dirs' parameter to new(). [Steve Hay] - Changed the no-op command on Win32 from 'rem' to 'rem>nul' inside pass-through Makefiles. [Randy Sims] - The 'autosplit' parameter now accepts an array reference if multiple files should be split. [Jaap Karssenberg] - find_perl_interpreter() will now use $^X (if absolute), $ENV{PATH} (if $^X isn't absolute), and $Config{perlpath}, in that order. Also, we now make darn sure the result is the same version of perl, by checking Config::myconfig() for a match against the current perl. [Reported by Edward Sabol] - Fixed a fatal error on Win32 (and any other platform that doesn't define an installation location for Unix-style man pages) during installation. 0.23 Sun Feb 8 22:01:18 CST 2004 - Fixed a compatibility problem in pass-through Makefiles (created by Module::Build::Compat). Some 'make' utilities (for example, BSD make) didn't like a '@' by itself on a line, so we stole some 'NOOP' code from MakeMaker to fix it. [Reported by Mathieu Arnold] - Added a 'ppm_dist' action, which just makes the PPD file and then makes a tarball out of the blib/ directory. [Randy Sims] - The @INC of the parent process is now propagated to child processes when processing *.PL files. [Reported by Jaap Karssenberg] - We now only attempt to fix the shebang line on a script if the shebang line matches the regex /perl/i . This fixes some instances where people put shell scripts in their distributions. [Jaap Karssenberg] - We no longer generate a 'requires', 'recommends', 'conflicts', etc. entry in the META.yml file if there's no data to go in it. - Added a documentation reference to Michael Schwern's wiki for tips on conversion from MakeMaker to M::B. [Randy Sims] - If there are script_files, we now add EXE_FILES to the 'traditional' Makefile.PL generated by M::B::Compat. [Suggested by Yuval Kogman] - Documented the 'test_files' parameter to new(). [Reported by Tony Bowden] - Fixed a problem in "Build help <action>", which didn't find the correct help chunk if <action> was the final element in a POD list. [Jaap Karssenberg] - Fixed a problem in the get_action_docs() method which gave incorrect results if the method was called more than once in the same program. - Fixed a problem in which actions defined by user subclasses wouldn't be available via the pass-through Makefiles created by Module::Build::Compat. [Reported by Jaap Karssenberg] - We now use Data::Dumper instead of our own ad-hoc serialization routines to create the 'traditional' Makefile.PL arguments. [Suggested by Yuval Kojman] 0.22 Sat Jan 10 22:05:39 CST 2004 - On Unixish platforms, the syntax "FOO=BAR /bin/baz arg arg" now works when present in $Config{ld}. This solves a problem on Mac OS X 10.3. [Reported by Adam Foxson] - The have_c_compiler() now also tests whether the linker seems to work too. - Fixed a problem with creating the distribution tarball in which permissions would usually be all read-only. We now use our own file-copying routines rather than those in ExtUtils::Manifest, because those do some annoying extra permissions-setting stuff for no apparent reason. It makes me happy that this was a very very easy patch to make. [Reported by Thomas Klausner] - The compile_c() method now includes $Config{cccdlflags} in its command invocation. It's usually empty, but not always, so we didn't notice for a while. [Richard Clamp] - On some platforms it's common to have a $Config{make} defined, but no 'make' utility actually available. We now detect this and skip some 'make' compatibility tests. [Randy Sims] - Fixed a spurious testing failure on non-Unix platforms that happened because we accidentally call localize_file_path() on empty strings in the test suite. [Spotted by Randy Sims on Windows] - Made the 'name', 'abstract', 'author', and 'version' properties required when building a PPD file. [Spotted by Randy Sims, Dave Rolsky, & Glenn Linderman] - When building a 'traditional' Makefile.PL with Module::Build::Compat, we now use 'VERSION_FROM' when possible, rather than always using 'VERSION'. This way the Makefile.PL doesn't have to get modified every release. - Made some fixups to the 'PPM' info-file, improving compatibility with ActiveState's PPM tools. [Randy Sims, Glenn Linderman] - The 'dist_author' property can now accept multiple authors, see the docs for more info. [Randy Sims] - If the user doesn't have YAML.pm installed during ACTION_dist, we now create a minimal YAML.pm anyway, without any dependency information. - The 'distribution_type' field is no longer created in META.yml files, in accordance with the finding made at the London CLPAN meeting that it's essentially meaningless and ill-defined. - The 'dist' action now accepts an optional 'tar' parameter to use a system utility for building the tarball, and a 'gzip' parameter for compressing it. If these are used, Archive::Tar won't be invoked. This was added because Archive::Tar is producing some very non-cross-platform tarballs that many tar utilities can't handle. - During testing, if YAML.pm isn't installed, then we won't try making a tarball either, since this would invoke YAML to create the META.yml file. - Fixed a problem with chmod() being called incorrectly on MacOS (i.e. MacPerl, not Mac OS X). [Spotted by Paul Sanford Toney] - Fixed a problem with the --config flag not being treated properly (essentially ignored) on the command line for 'perl Build.PL' or 'Build <action>'. [Spotted by Jakub Bogusz] - Added a new config() method to get at the Build object's notion of the %Config hash. - Test::Harness is starting to contend for the Most Crotchety Module Award. Work around a few of its nits when setting harness switches. [Spotted by Diab Jerius] - Now the Build script will die() if we're run from the wrong directory, rather than trying to chdir() to what it thinks is the right directory and do its work there. See https://rt.cpan.org/Ticket/Display.html?id=4039 . [Chris Dolan] - Changed the manpage separator on OS/2 to '.'. [Ilya Zakharevich] - On OS/2, disable C compilation, since apparently it isn't working there. [Reported by Ilya Zakharevich] - Inserted a comment into auto-generated Makefile.PLs saying it was auto-generated. [Randy Sims] - Fixed some annoying behavior in generated passthrough Makefile.PLs when the user chose not to install Module::Build, or if installation failed. [Reported by Ilya Zakharevich and Richard Clamp] - Moved the documentation for 'codebase' to the section where it's relevant. [Randy Sims, Glenn Linderman] - Fixed a have_c_compiler() failure on some platforms, we now define a boot_compilet() function (since we're compiling a library, not an executable). [Randy Sims] - Added a recipe to the Module::Build::Cookbook describing how to maintain compatibility with older versions of CPAN.pm [Jim Cromie] - Removed caveat about "looking for alternatives" in how hashes are specified on the command line, since an alternative has been found. - Previously most warnings about optional prerequisites looked like they were actually error messages about required prerequisites. This has been corrected. [Reported again by Sagar Shah] - Added support for building XS (and C in general) stuff on AIX. This was done by a small reorganization of prelink_c() method from Windows.pm to Build.pm, and it is only invoked for the platforms that need it invoked. AIX also massages some very naughty bits (MakeMaker macro variables) in $Config{lddlflags} that should never have been put there, but alas, they're there, so we find & resolve them. - Added OS/2 ($^O = 'os2') to the list of Unix-like platforms. This basically means that most platform-specific operations will be done in a Unix-like manner. - Pass-through Makefiles will now die() when they're given a PREFIX parameter, and suggest using 'destdir' or 'install_base' instead. Previously they just ignored the parameter and tried to install to the default location, which is clearly not what the user wanted. - Updated my email address in the documentation to a more recent variant. - Add NetBSD to the list of Unix-like systems. [Adrian Bunk] - Add SVR5 to the list of Unix-like systems. [Rafael Garcia-Suarez] - We now use Pod::Parser to find the ABSTRACT and AUTHOR when it's available on the system. [initial patch by Randy Sims] - Fixed a little scalar/list buglet in a documentation example.
2005-02-19 13:40:47 +01:00
Update from version 0.3000 to 0.3100 (upstream 0.31). Pkgsrc changes: o Add a couple of dependencies needed when perl < 5.10 o Add "c" to the languages; the tests use the C compiler Upstream changes: Revision history for Perl extension Module::Build. Deprecations - Use of attributes as class methods is deprecated (this was never a documented feature and appears to only have worked accidentally.) 0.30_02 - Mon Dec 15 12:23:55 PST 2008 Bug Fixes - make Software::License dependency "softer". 0.30_01 - Thu Dec 11 18:25:53 PST 2008 New Docs - Added a recipe for writing a new action to the Cookbook - Added a recipe for bundling Module::Build to the Cookbook. Doc Fixes - Clarified dist_abstract search procedure in API.pod (RT#41056) [Mario Domgoergen] Bug Fixes - Workaround HARNESS_TIMER env issue in t/compat.t (RT#39635) - Fix ~ expansion when $HOME is different from /etc/passwd as when running sudo. [rt.cpan.org 39662] - Fixed a small POD error in the Cookbook. [Damyan Ivanov] - Unset group/other write permission bits when using Archive::Tar to build the dist tarball. (RT#39804) [David Golden] Enhancements - We now support a 'create_license' parameter to new() that will create a LICENSE file during the 'dist' phase with the full text of the license. This requires Software::License on the author's machine. THIS ALSO STILL NEEDS DOCS. - Added lgpl2/lgpl3 entries to the supported licenses (RT#40532). - Support for validating properties with a check subref. [David Wheeler] Test Fixes - Defend against more stray environment variables interfering with the tests. Other - Updated our embedded version.pm to 0.76, enhanced documentation on dist_version_from. [John Peacock]
2009-01-04 19:17:31 +01:00
USE_LANGUAGES= c # For the tests
BUILDING_MODULE_BUILD= yes
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/Module/Build/.packlist
Update from version 0.2808 to 0.3000 (upstream 0.30). This even though some tests fail, but that's due to FAKEHOME. Pkgsrc changes: o add USE_TOOLS+=perl to make some more tests succeed Upstream changes: 0.30 - Thu Sep 25 20:57:36 2008 - First non-beta release since April 2007. In the meantime, Sarkozy became president of France, the 35W bridge fell in Minneapolis, Phelps won a lot of gold, a new tribe of indigenous people was discovered in the Amazon, and Bob Barker stopped doing The Price Is Right. As of this moment though, the U.S. economy still hasn't collapsed completely. 0.2808_05 - Thu Sep 18 23:30:39 PDT 2008 - Skip test in t/ext.t which tickles shellwords() in Text::ParseWords below 3.23 [David Wheeler, Ken] - Fixed some shell-quoting issues in do_system() on Windows [Ken, Schwern, reported by Curtis Jewell] - Fixed t/xs.t failure for missing 'const char *' typemap in 5.6 [Schwern] - Added build_requires for Test::More 0.49 and Test::Harness 2.03. Removed bundled Test::More (was not working for 5.005x anyway). [Schwern] - Minimum required perl version is now 5.6.1. [Schwern] 0.2808_04 - Thu Sep 11 22:51:27 PDT 2008 - Backed-out incompatible Module::Build::ModuleInfo change (first in 0.2808_02.) 0.2808_03 - Mon Sep 1 14:43:27 PDT 2008 - Made adjustments for the format changes of recent Test::Harness output. [Nicholas Clark] - Fixed the documentation for script_files to indicate that we search bin/ for scripts by default. It has been this way for several years. [Spotted by Ron Savage] 0.2808_02 - Wed Jul 9 16:45:08 PDT 2008 - Experimental support for TAP::Harness with --use-tap-harness option and the tap_harness_args property. [David Wheeler & Eric Wilhelm] - Added test_file_exts property for main-run tests other than '*.t'. [David Wheeler] - Fixed getcwd()/rmtree() failure case on 5.10+mac where something is unhappy about all of the tests deleting their distgen directory before leaving it. [Eric Wilhelm & David Wheeler] - Improved support for parsing qv() in modules' $VERSION declarations, and made $VERSION-parsing errors more verbose. [Jos Boumans] - Integrated an omnibus patch for various VMS fixes. [Craig Berry & John E. Malmberg] - Some versions of Test::Harness (or something) seem to not be stripping the ".t" suffix when outputting test reports, which was causing one of our tests in t/compat.t to fail. Fixed. [Spotted by a smoke tester] - Most Unix platforms seem to allow hyphens in usernames, so we honor this in our de-tilde-fying methods now. [Spotted by s-murata] - If there are multiple assignments to the $VERSION variable in someone's module and this generates warnings, tell the user what line number the problem is at. - Added 'gnu' and 'gnukfreebsd' as Unix variants. [Niko Tyni] - Fixed a couple bugs in how we quote arguments to external processes when they have to pass through the shell. Also much more thoroughly tested our quoting now. - Edited the Module::Build::API docs prose about the 'license' field in response to some comments on the module-authors mailing list. - Fixed a typo in some example code in the Cookbook. [Jeremy Leader] - Custom typemaps were being looked for in places that don't quite exist; fixed. [Michael G Schwern] - QNX/Neutrino is now considered to be Unix. [rt.cpan.org 32214] - Added 'gpl2' and 'gpl3' to the list of valid licenses. [Allen Engelhardt] - Fixed our Data::Dumper wrapper's sensitivity to users who might set $Data::Dumper::Terse. [Spotted by Dominique Dumont] - Documented the fix_shebang_line() method. [Elliot Shank] - Applied the 'const' modifier to version() and xs_version() XS functions we use during testing. [Robin Barker] - Fixed processing of INC=, POLLUTE=, INSTALLDIRS=, and LIB= for passthrough/small Makefile.PLs. - perl Build.PL --sign=1 now signs. [Michael G Schwern] - Fixed processing of INSTALLDIRS=whatever for compatibility Makefiles. [Spotted by John Peacock] - Zillions of special-cases have been added in Compat.pm for dealing with the special Makefile system on VMS. [John E. Malmberg] - Fixed some stuff in how VMS command-args get quoted. [John E. Malmberg] - VMS now overrides localize_file_path() and localize_dir_path() so we don't need to do special stuff in the general case. [John E. Malmberg] - Added a few more VMS-specific entries to the default MANIFEST.SKIP file that (sometimes) gets created during the 'manifest' action. [John E. Malmberg] - Fixed a catdir() that should have been a catfile() when creating a ppmdist. [John E. Malmberg] - Removed some assumptions about what makefiles are called (not necessarily "Makefile") and how they take their arguments, to get VMS tests working better. [John E. Malmberg] - Fixed our check for Archive::Tar in the t/runthrough.t test, which fixes a common failure on Win32. [Spotted by Chris Williams] - Fixed a File::Spec mal-ism in t/destinations.t [Craig A. Berry] - Exposed the internal ExtUtils::CBuilder object as part of our API, via the cbuilder() method. [Zefram] - Upgraded to version.pm 0.74 (fixes bug #30004.) - Overwrite core (post-5.9.4) Module::Build installs (bug #20528.) - Pass quiet() option to ExtUtils::CBuilder object. 0.2808_01 - Wed Oct 24 11:51:25 2007 - All .pm files in the Module-Build distribution (except for M::B::Version.pm, which is kind of tied to version.pm) now have the same $VERSION number explicitly specified. - When checking prerequisites, the required version of perl is now checked before we start finding the $VERSION declaration of the distribution, which results in much more intuitive error messages e.g. if the author is using 5.6-isms in their declaration but the user doesn't have 5.6. [Slaven Rezic] - Added 'artistic_2' license, corrected 'lgpl' license url (bug #29783) [David Thomas] - VMS find_perl_interpreter() is just $^X (bug #29810) [Craig A. Berry] - Some large VMS fixes, mostly having to do with the non-case- preserving nature of most VMS filesystems, but also correcting for illegal characters in VMS file specs. [John E. Malmberg and Craig A. Berry] - Fixed the _detildefy() method on VMS. [John E. Malmberg and Craig A. Berry] - We now use a much more reliable method when Data::Dumper-ing saved state data. [Yves] - When a module had 0.000 as its version, a few places in the code thought the module had no version at all. This is now fixed. [Andrew "Zefram" Main] - When finding the default set of script_files, we now compute them as relative paths, not absolute. [Spotted by Curtis "Ovid" Poe] - Got rid of a call to eliminate_macros, which isn't needed in Module::Build since there is no external make utility involved. Override expand_test_dir to make up for the fact that the home-grown glob() returns absolute, not relative, paths. [Craig A. Berry] - Fixed a catdir() that needed to be catfile() in the .packlist creation code. [John E. Malmberg] - If a *.PL file ended abnormally during the build, processing should have stopped, but it didn't. Fixed. [Matthew Cast and David Golden] - Module::Build::Compat adds "require 5.XXXXX" to Makefile.PL when 'perl' is specified as a 'requires' prerequisite [David Golden] - Refactored t/compat.t for modularity and transparency; added labels for all tests; supressed subprocess output to STDOUT and STDERR [David Golden] - Fixed bug in perl_version_to_float when version is already a float [David Golden] - Removed a mention of $build->{config} from the documentation, the official interface to Config.pm settings is now via the $build->config() and has been for some time. [Suggested by Michael Schwern] - Tweaked some text in the Cookbook to bring it into the modern age, and added a recipe for accessing Config.pm settings. [Ibid] - Lots of POD link/readability improvements to the Module::Build::API documentation [Salve J. Nilsen] - Added configure_requires as a new type of prereq. [Suggested by Adam Kennedy] - Patch 31156 from bleadperl: some filename dot and extension help for Module::Build on VMS. [Craig Berry] - Reworked the _detildefy() method so it doesn't depend on glob() anymore. This gets rid of a problem with spaces or other special shell characters in things like 'prefix' or 'install_path' entries. [Prodding by Eric Wilhelm] - Added midnightbsd to the list of Unix-like OSes we know about [Rafael Garcia-Suarez]
2008-11-17 04:22:03 +01:00
# For the tests:
USE_TOOLS+= perl
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"