Hello community,
here is the log from the commit of package perl-ExtUtils-CBuilder for
openSUSE:Factory checked in at 2012-02-23 15:33:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CBuilder (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-CBuilder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-CBuilder", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-ExtUtils-CBuilder/perl-ExtUtils-CBuilder.changes
2012-02-17 12:07:34.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-ExtUtils-CBuilder.new/perl-ExtUtils-CBuilder.changes
2012-02-23 15:33:55.000000000 +0100
@@ -1,0 +2,14 @@
+Thu Feb 23 09:56:03 UTC 2012 - [email protected]
+
+- updated to 0.280205
+
+ Fixed:
+ - Fixed bug picking up ccflags from Config
+ - Quotation style cleanup
+ - Appends CFLAGS and LDFLAGS environments instead of overriding
+ - Reset ccflags on compilation for VMS.
+
+ Changed:
+ - Refactored OS name mapping to use Perl::OSType
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-CBuilder-0.280202.tar.gz
New:
----
ExtUtils-CBuilder-0.280205.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-CBuilder.spec ++++++
--- /var/tmp/diff_new_pack.zDCdLi/_old 2012-02-23 15:33:56.000000000 +0100
+++ /var/tmp/diff_new_pack.zDCdLi/_new 2012-02-23 15:33:56.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-ExtUtils-CBuilder
-Version: 0.280202
+Version: 0.280205
Release: 0
%define cpan_name ExtUtils-CBuilder
Summary: Compile and link C code for Perl modules
@@ -31,11 +31,13 @@
BuildRequires: perl-macros
BuildRequires: perl(File::Spec) >= 3.13
BuildRequires: perl(IPC::Cmd)
+BuildRequires: perl(Perl::OSType)
#BuildRequires: perl(ExtUtils::CBuilder)
#BuildRequires: perl(ExtUtils::CBuilder::Base)
#BuildRequires: perl(ExtUtils::CBuilder::Platform::Unix)
Requires: perl(File::Spec) >= 3.13
Requires: perl(IPC::Cmd)
+Requires: perl(Perl::OSType)
%{perl_requires}
%description
@@ -63,6 +65,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README README.patching
+%doc Changes LICENSE
%changelog
++++++ ExtUtils-CBuilder-0.280202.tar.gz -> ExtUtils-CBuilder-0.280205.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/Changes
new/ExtUtils-CBuilder-0.280205/Changes
--- old/ExtUtils-CBuilder-0.280202/Changes 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/Changes 2012-02-22 22:25:13.000000000
+0100
@@ -1,5 +1,29 @@
Revision history for Perl extension ExtUtils::CBuilder.
+0.280205 - 2011-12-20 (Perl v5.15.6)
+
+ Fixed:
+
+ - Fixed bug picking up ccflags from Config
+
+0.280204 - 2011-06-20 (Perl v5.15.0)
+
+ Minor:
+
+ - Quotation style cleanup
+
+0.280203 - 2011-05-14 (Perl v5.14.0)
+
+ Fixed:
+
+ - Appends CFLAGS and LDFLAGS environments instead of overriding
+
+ - Reset ccflags on compilation for VMS.
+
+ Changed:
+
+ - Refactored OS name mapping to use Perl::OSType
+
0.280202 - Sun Jan 23 10:47:51 EST 2011
- Different file names used for test files; allows EU::CB tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/LICENSE
new/ExtUtils-CBuilder-0.280205/LICENSE
--- old/ExtUtils-CBuilder-0.280202/LICENSE 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/LICENSE 2012-02-22 22:25:13.000000000
+0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by Ken Williams.
+This software is copyright (c) 2012 by Ken Williams.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,21 +12,22 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by Ken Williams.
+This software is Copyright (c) 2012 by Ken Williams.
This is free software, licensed under:
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301
USA
+
Also add information on how to contact you by electronic and paper mail.
@@ -270,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by Ken Williams.
+This software is Copyright (c) 2012 by Ken Williams.
This is free software, licensed under:
@@ -290,21 +292,21 @@
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this
Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/MANIFEST
new/ExtUtils-CBuilder-0.280205/MANIFEST
--- old/ExtUtils-CBuilder-0.280202/MANIFEST 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/MANIFEST 2012-02-22 22:26:36.000000000
+0100
@@ -1,29 +1,25 @@
Changes
-LICENSE
-MANIFEST
-META.json
-META.yml
-Makefile.PL
-README
-README.patching
-dist.ini
lib/ExtUtils/CBuilder.pm
lib/ExtUtils/CBuilder/Base.pm
+lib/ExtUtils/CBuilder/Platform/aix.pm
+lib/ExtUtils/CBuilder/Platform/cygwin.pm
+lib/ExtUtils/CBuilder/Platform/darwin.pm
+lib/ExtUtils/CBuilder/Platform/dec_osf.pm
+lib/ExtUtils/CBuilder/Platform/os2.pm
lib/ExtUtils/CBuilder/Platform/Unix.pm
lib/ExtUtils/CBuilder/Platform/VMS.pm
lib/ExtUtils/CBuilder/Platform/Windows.pm
lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
-lib/ExtUtils/CBuilder/Platform/aix.pm
-lib/ExtUtils/CBuilder/Platform/cygwin.pm
-lib/ExtUtils/CBuilder/Platform/darwin.pm
-lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-lib/ExtUtils/CBuilder/Platform/os2.pm
+LICENSE
+Makefile.PL
+MANIFEST This list of files
+MANIFEST.SKIP
t/00-have-compiler.t
t/01-basic.t
t/02-link.t
t/03-cplusplus.t
t/04-base.t
-xt/release/eol.t
-xt/release/pod-syntax.t
+META.yml Module YAML meta-data (added by
MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/MANIFEST.SKIP
new/ExtUtils-CBuilder-0.280205/MANIFEST.SKIP
--- old/ExtUtils-CBuilder-0.280202/MANIFEST.SKIP 1970-01-01
01:00:00.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/MANIFEST.SKIP 2012-02-22
22:26:10.000000000 +0100
@@ -0,0 +1,60 @@
+
+#!start included
/home/david/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/ExtUtils/MANIFEST.SKIP
+# Avoid version control files.
+\bRCS\b
+\bCVS\b
+\bSCCS\b
+,v$
+\B\.svn\b
+\B\.git\b
+\B\.gitignore\b
+\b_darcs\b
+\B\.cvsignore$
+
+# Avoid VMS specific MakeMaker generated files
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Avoid Makemaker generated and utility files.
+\bMANIFEST\.bak
+\bMakefile$
+\bblib/
+\bMakeMaker-\d
+\bpm_to_blib\.ts$
+\bpm_to_blib$
+\bblibdirs\.ts$ # 6.18 through 6.25 generated this
+
+# Avoid Module::Build generated and utility files.
+\bBuild$
+\b_build/
+\bBuild.bat$
+\bBuild.COM$
+\bBUILD.COM$
+\bbuild.com$
+
+# Avoid temp and backup files.
+~$
+\.old$
+\#$
+\b\.#
+\.bak$
+\.tmp$
+\.#
+\.rej$
+
+# Avoid OS-specific files/dirs
+# Mac OSX metadata
+\B\.DS_Store
+# Mac OSX SMB mount metadata files
+\B\._
+
+# Avoid Devel::Cover and Devel::CoverX::Covered files.
+\bcover_db\b
+\bcovered\b
+
+# Avoid MYMETA files
+^MYMETA\.
+#!end included
/home/david/perl5/perlbrew/perls/perl-5.14.0/lib/site_perl/5.14.0/ExtUtils/MANIFEST.SKIP
+
+README.release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/META.json
new/ExtUtils-CBuilder-0.280205/META.json
--- old/ExtUtils-CBuilder-0.280202/META.json 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/META.json 2012-02-22 22:26:36.000000000
+0100
@@ -1,11 +1,10 @@
{
"abstract" : "Compile and link C code for Perl modules",
"author" : [
- "Ken Williams <[email protected]>",
- "The Perl 5 Porters"
+ "Ken Williams <[email protected]>, The Perl 5 Porters"
],
- "dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200001, CPAN::Meta::Converter
version 2.102400",
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter
version 2.120351",
"license" : [
"perl_5"
],
@@ -14,210 +13,36 @@
"version" : "2"
},
"name" : "ExtUtils-CBuilder",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
"prereqs" : {
- "configure" : {
+ "build" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.31"
+ "Test::More" : "0.47"
}
},
- "runtime" : {
+ "configure" : {
"requires" : {
- "Cwd" : 0,
- "File::Basename" : 0,
- "File::Spec" : "3.13",
- "File::Temp" : 0,
- "IO::File" : 0,
- "IPC::Cmd" : 0,
- "Text::ParseWords" : 0
+ "ExtUtils::MakeMaker" : "6.30"
}
},
- "test" : {
+ "runtime" : {
"requires" : {
- "Test::More" : "0.47"
+ "Cwd" : "0",
+ "File::Basename" : "0",
+ "File::Spec" : "3.13",
+ "File::Temp" : "0",
+ "IO::File" : "0",
+ "IPC::Cmd" : "0",
+ "Perl::OSType" : "0",
+ "Text::ParseWords" : "0"
}
}
},
"release_status" : "stable",
- "resources" : {
- "bugtracker" : {
- "mailto" : "[email protected]",
- "web" : "http://rt.perl.org/rt3/"
- },
- "homepage" : "http://search.cpan.org/dist/ExtUtils-CBuilder",
- "repository" : {
- "type" : "git",
- "url" : "git://github.com/dagolden/extutils-cbuilder.git",
- "web" : "http://github.com/dagolden/extutils-cbuilder"
- }
- },
- "version" : "0.280202",
- "x_Dist_Zilla" : {
- "plugins" : [
- {
- "class" : "Dist::Zilla::Plugin::VersionFromModule",
- "name" : "VersionFromModule",
- "version" : "0.08"
- },
- {
- "class" : "Dist::Zilla::Plugin::CheckExtraTests",
- "name" : "CheckExtraTests",
- "version" : "0.004"
- },
- {
- "class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
- "name" : "CheckChangesHasContent",
- "version" : "0.003"
- },
- {
- "class" : "Dist::Zilla::Plugin::GatherDir",
- "name" : "@Filter/GatherDir",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@Filter/PruneCruft",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::ManifestSkip",
- "name" : "@Filter/ManifestSkip",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::MetaYAML",
- "name" : "@Filter/MetaYAML",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::License",
- "name" : "@Filter/License",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::Readme",
- "name" : "@Filter/Readme",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::ExecDir",
- "name" : "@Filter/ExecDir",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::ShareDir",
- "name" : "@Filter/ShareDir",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@Filter/MakeMaker",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::Manifest",
- "name" : "@Filter/Manifest",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::TestRelease",
- "name" : "@Filter/TestRelease",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::ConfirmRelease",
- "name" : "@Filter/ConfirmRelease",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::UploadToCPAN",
- "name" : "@Filter/UploadToCPAN",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::PruneFiles",
- "name" : "PruneFiles",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::DualLife",
- "name" : "DualLife",
- "version" : "0.01"
- },
- {
- "class" : "Dist::Zilla::Plugin::MetaConfig",
- "name" : "MetaConfig",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::MetaJSON",
- "name" : "MetaJSON",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
- "name" : "PodSyntaxTests",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::EOLTests",
- "name" : "EOLTests",
- "version" : "0.02"
- },
- {
- "class" : "Dist::Zilla::Plugin::Prereqs",
- "config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "runtime",
- "type" : "requires"
- }
- },
- "name" : "Prereqs",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::Prereqs",
- "config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "test",
- "type" : "requires"
- }
- },
- "name" : "TestRequires",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::MetaResources",
- "name" : "MetaResources",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::FinderCode",
- "name" : ":InstallModules",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::FinderCode",
- "name" : ":TestFiles",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::FinderCode",
- "name" : ":ExecFiles",
- "version" : "4.200001"
- },
- {
- "class" : "Dist::Zilla::Plugin::FinderCode",
- "name" : ":ShareFiles",
- "version" : "4.200001"
- }
- ],
- "zilla" : {
- "class" : "Dist::Zilla::Dist::Builder",
- "config" : {
- "is_trial" : 0
- },
- "version" : "4.200001"
- }
- }
+ "version" : "0.280205"
}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/META.yml
new/ExtUtils-CBuilder-0.280205/META.yml
--- old/ExtUtils-CBuilder-0.280202/META.yml 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/META.yml 2012-02-22 22:26:36.000000000
+0100
@@ -1,19 +1,22 @@
---
abstract: 'Compile and link C code for Perl modules'
author:
- - 'Ken Williams <[email protected]>'
- - 'The Perl 5 Porters'
+ - 'Ken Williams <[email protected]>, The Perl 5 Porters'
build_requires:
Test::More: 0.47
configure_requires:
- ExtUtils::MakeMaker: 6.31
-dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200001, CPAN::Meta::Converter version
2.102400'
+ ExtUtils::MakeMaker: 6.30
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version
2.120351'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: ExtUtils-CBuilder
+no_index:
+ directory:
+ - t
+ - inc
requires:
Cwd: 0
File::Basename: 0
@@ -21,140 +24,6 @@
File::Temp: 0
IO::File: 0
IPC::Cmd: 0
+ Perl::OSType: 0
Text::ParseWords: 0
-resources:
- bugtracker: http://rt.perl.org/rt3/
- homepage: http://search.cpan.org/dist/ExtUtils-CBuilder
- repository: git://github.com/dagolden/extutils-cbuilder.git
-version: 0.280202
-x_Dist_Zilla:
- plugins:
- -
- class: Dist::Zilla::Plugin::VersionFromModule
- name: VersionFromModule
- version: 0.08
- -
- class: Dist::Zilla::Plugin::CheckExtraTests
- name: CheckExtraTests
- version: 0.004
- -
- class: Dist::Zilla::Plugin::CheckChangesHasContent
- name: CheckChangesHasContent
- version: 0.003
- -
- class: Dist::Zilla::Plugin::GatherDir
- name: '@Filter/GatherDir'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::PruneCruft
- name: '@Filter/PruneCruft'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::ManifestSkip
- name: '@Filter/ManifestSkip'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::MetaYAML
- name: '@Filter/MetaYAML'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::License
- name: '@Filter/License'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::Readme
- name: '@Filter/Readme'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::ExecDir
- name: '@Filter/ExecDir'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::ShareDir
- name: '@Filter/ShareDir'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::MakeMaker
- name: '@Filter/MakeMaker'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::Manifest
- name: '@Filter/Manifest'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::TestRelease
- name: '@Filter/TestRelease'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::ConfirmRelease
- name: '@Filter/ConfirmRelease'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::UploadToCPAN
- name: '@Filter/UploadToCPAN'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::PruneFiles
- name: PruneFiles
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::DualLife
- name: DualLife
- version: 0.01
- -
- class: Dist::Zilla::Plugin::MetaConfig
- name: MetaConfig
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::MetaJSON
- name: MetaJSON
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::PodSyntaxTests
- name: PodSyntaxTests
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::EOLTests
- name: EOLTests
- version: 0.02
- -
- class: Dist::Zilla::Plugin::Prereqs
- config:
- Dist::Zilla::Plugin::Prereqs:
- phase: runtime
- type: requires
- name: Prereqs
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::Prereqs
- config:
- Dist::Zilla::Plugin::Prereqs:
- phase: test
- type: requires
- name: TestRequires
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::MetaResources
- name: MetaResources
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::FinderCode
- name: ':InstallModules'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::FinderCode
- name: ':TestFiles'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::FinderCode
- name: ':ExecFiles'
- version: 4.200001
- -
- class: Dist::Zilla::Plugin::FinderCode
- name: ':ShareFiles'
- version: 4.200001
- zilla:
- class: Dist::Zilla::Dist::Builder
- config:
- is_trial: 0
- version: 4.200001
+version: 0.280205
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/Makefile.PL
new/ExtUtils-CBuilder-0.280205/Makefile.PL
--- old/ExtUtils-CBuilder-0.280202/Makefile.PL 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/Makefile.PL 2012-02-22 22:25:13.000000000
+0100
@@ -1,42 +1,33 @@
-
use strict;
use warnings;
-
-
-use ExtUtils::MakeMaker 6.31;
-
-
+use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'Compile and link C code for Perl modules',
- 'AUTHOR' => 'Ken Williams <[email protected]>, The Perl 5 Porters',
- 'BUILD_REQUIRES' => {
- 'Test::More' => '0.47'
+ "NAME" => "ExtUtils::CBuilder",
+ "VERSION_FROM" => "lib/ExtUtils/CBuilder.pm",
+ "ABSTRACT_FROM" => "lib/ExtUtils/CBuilder.pm",
+ "AUTHOR" => "Ken Williams <kwilliams\@cpan.org>, The Perl 5 Porters",
+ "BUILD_REQUIRES" => {
+ "Test::More" => "0.47"
},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.31'
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
},
- 'DISTNAME' => 'ExtUtils-CBuilder',
- 'EXE_FILES' => [],
- 'LICENSE' => 'perl',
- 'NAME' => 'ExtUtils::CBuilder',
- 'PREREQ_PM' => {
- 'Cwd' => '0',
- 'File::Basename' => '0',
- 'File::Spec' => '3.13',
- 'File::Temp' => '0',
- 'IO::File' => '0',
- 'IPC::Cmd' => '0',
- 'Text::ParseWords' => '0'
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "PREREQ_PM" => {
+ "Cwd" => 0,
+ "File::Basename" => 0,
+ "File::Spec" => "3.13",
+ "File::Temp" => 0,
+ "IO::File" => 0,
+ "IPC::Cmd" => 0,
+ "Perl::OSType" => 0,
+ "Text::ParseWords" => 0
},
- 'VERSION' => '0.280202',
- 'test' => {
- 'TESTS' => 't/*.t'
- }
);
-
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
my $pp = $WriteMakefileArgs{PREREQ_PM};
@@ -58,5 +49,3 @@
WriteMakefile(%WriteMakefileArgs);
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/README
new/ExtUtils-CBuilder-0.280205/README
--- old/ExtUtils-CBuilder-0.280202/README 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/README 1970-01-01 01:00:00.000000000
+0100
@@ -1,13 +0,0 @@
-
-
-This archive contains the distribution ExtUtils-CBuilder,
-version 0.280202:
-
- Compile and link C code for Perl modules
-
-This software is copyright (c) 2011 by Ken Williams.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/README.patching
new/ExtUtils-CBuilder-0.280205/README.patching
--- old/ExtUtils-CBuilder-0.280202/README.patching 2011-01-23
16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/README.patching 1970-01-01
01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-ExtUtils::CBuilder is now maintained as part of the Perl 5 source. This
-repository exists to coordinate dual-life CPAN releases only.
-
-Please direct any contributions to the Perl 5 Porters team.
-See http://dev.perl.org/perl5/ for more details.
-
-Any bug reports for ExtUtils::CBuilder should be submitted via the
-'perlbug' tool distributed with Perl 5. Patches should be submitted
-upstream to Perl 5.
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/dist.ini
new/ExtUtils-CBuilder-0.280205/dist.ini
--- old/ExtUtils-CBuilder-0.280202/dist.ini 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/dist.ini 1970-01-01 01:00:00.000000000
+0100
@@ -1,43 +0,0 @@
-name = ExtUtils-CBuilder
-author = Ken Williams <[email protected]>
-author = The Perl 5 Porters
-license = Perl_5
-copyright_holder = Ken Williams
-
-[VersionFromModule]
-[CheckExtraTests]
-[CheckChangesHasContent]
-
-[@Filter]
--bundle = @Basic
--remove = ExtraTests
-
-[PruneFiles]
-match = ^devtools/*
-
-[DualLife]
-[MetaConfig]
-[MetaJSON]
-[PodSyntaxTests]
-[EOLTests]
-
-[Prereqs]
-Cwd = 0
-File::Basename = 0
-File::Spec = 3.13
-File::Temp = 0
-IO::File = 0
-IPC::Cmd = 0
-Text::ParseWords = 0
-
-[Prereqs / TestRequires]
-Test::More = 0.47
-
-[MetaResources]
-repository.type = git
-repository.url = git://github.com/dagolden/extutils-cbuilder.git
-repository.web = http://github.com/dagolden/extutils-cbuilder
-bugtracker.web = http://rt.perl.org/rt3/
-bugtracker.mailto = [email protected]
-homepage = http://search.cpan.org/dist/ExtUtils-CBuilder
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Base.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Base.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Base.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Base.pm
2012-02-22 21:42:33.000000000 +0100
@@ -12,7 +12,7 @@
use File::Temp qw(tempfile);
use vars qw($VERSION);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
# More details about C/C++ compilers:
# http://developers.sun.com/sunstudio/documentation/product/compiler.jsp
@@ -40,11 +40,13 @@
$self->{config}{$k} = $v unless exists $self->{config}{$k};
}
$self->{config}{cc} = $ENV{CC} if defined $ENV{CC};
- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS};
+ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS})
+ if defined $ENV{CFLAGS};
$self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX};
$self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS};
$self->{config}{ld} = $ENV{LD} if defined $ENV{LD};
- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS};
+ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS})
+ if defined $ENV{LDFLAGS};
unless ( exists $self->{config}{cxx} ) {
my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc},
qr/\.[^.]*/);
@@ -64,7 +66,7 @@
}
unless ( exists $self->{config}{cxx} ) {
$self->{config}{cxx} = $self->{config}{cc};
- my $cflags = $self->{config}{cflags};
+ my $cflags = $self->{config}{ccflags};
$self->{config}{cxxflags} = '-x c++';
$self->{config}{cxxflags} .= " $cflags" if defined $cflags;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Unix.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Unix.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Unix.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Unix.pm
2012-02-22 21:42:33.000000000 +0100
@@ -4,7 +4,7 @@
use ExtUtils::CBuilder::Base;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Base);
sub link_executable {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/VMS.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/VMS.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/VMS.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/VMS.pm
2012-02-22 21:42:33.000000000 +0100
@@ -4,10 +4,11 @@
use ExtUtils::CBuilder::Base;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Base);
use File::Spec::Functions qw(catfile catdir);
+use Config;
# We do prelink, but don't want the parent to redo it.
@@ -47,6 +48,20 @@
return ('/include=(' . join(',', @dirs) . ')');
}
+# We override the compile method because we consume the includes and defines
+# parts of ccflags in the process of compiling but don't save those parts
+# anywhere, so $self->{config}{ccflags} needs to be reset for each compile
+# operation.
+
+sub compile {
+ my ($self, %args) = @_;
+
+ $self->{config}{ccflags} = $Config{ccflags};
+ $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS};
+
+ return $self->SUPER::compile(%args);
+}
+
sub _do_link {
my ($self, $type, %args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
---
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
2011-01-23 16:48:57.000000000 +0100
+++
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
2012-02-22 21:42:33.000000000 +0100
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::BCC;
use vars qw($VERSION);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
sub format_compiler_cmd {
my ($self, %spec) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
---
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
2011-01-23 16:48:57.000000000 +0100
+++
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
2012-02-22 21:42:33.000000000 +0100
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::GCC;
use vars qw($VERSION);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
sub format_compiler_cmd {
my ($self, %spec) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
---
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
2011-01-23 16:48:57.000000000 +0100
+++
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
2012-02-22 21:42:33.000000000 +0100
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::MSVC;
use vars qw($VERSION);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
sub arg_exec_file {
my ($self, $file) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/Windows.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/Windows.pm
2012-02-22 21:42:33.000000000 +0100
@@ -10,7 +10,7 @@
use IO::File;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Base);
=begin comment
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/aix.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/aix.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/aix.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/aix.pm
2012-02-22 21:42:33.000000000 +0100
@@ -5,7 +5,7 @@
use File::Spec;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub need_prelink { 1 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/cygwin.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/cygwin.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/cygwin.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/cygwin.pm
2012-02-22 21:42:33.000000000 +0100
@@ -5,7 +5,7 @@
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
# TODO: If a specific exe_file name is requested, if the exe created
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/darwin.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/darwin.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/darwin.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/darwin.pm
2012-02-22 21:42:33.000000000 +0100
@@ -4,7 +4,7 @@
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub compile {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
2012-02-22 21:42:33.000000000 +0100
@@ -6,7 +6,7 @@
use vars qw($VERSION @ISA);
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
sub link_executable {
my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/os2.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/os2.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder/Platform/os2.pm
2011-01-23 16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder/Platform/os2.pm
2012-02-22 21:42:33.000000000 +0100
@@ -4,7 +4,7 @@
use ExtUtils::CBuilder::Platform::Unix;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);
sub need_prelink { 1 }
@@ -57,9 +57,9 @@
my ($self, %args) = @_;
my @DEF = grep /\.def$/i, @{$args{prelink_res}};
- die "More than one .def files created by `prelink' stage" if @DEF > 1;
+ die "More than one .def files created by 'prelink' stage" if @DEF > 1;
# XXXX No "$how" argument here, so how to test for dynamic link?
- die "No .def file created by `prelink' stage"
+ die "No .def file created by 'prelink' stage"
unless @DEF or not @{$args{prelink_res}};
my @after_libs = ($OS2::is_aout ? ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder.pm
new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder.pm
--- old/ExtUtils-CBuilder-0.280202/lib/ExtUtils/CBuilder.pm 2011-01-23
16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/lib/ExtUtils/CBuilder.pm 2012-02-22
21:48:03.000000000 +0100
@@ -3,59 +3,12 @@
use File::Spec ();
use File::Path ();
use File::Basename ();
+use Perl::OSType qw/os_type/;
use vars qw($VERSION @ISA);
-$VERSION = '0.280202';
+$VERSION = '0.280205';
$VERSION = eval $VERSION;
-# Okay, this is the brute-force method of finding out what kind of
-# platform we're on. I don't know of a systematic way. These values
-# came from the latest (bleadperl) perlport.pod.
-
-my %OSTYPES = qw(
- aix Unix
- bsdos Unix
- dgux Unix
- dynixptx Unix
- freebsd Unix
- linux Unix
- hpux Unix
- irix Unix
- darwin Unix
- machten Unix
- next Unix
- openbsd Unix
- netbsd Unix
- dec_osf Unix
- svr4 Unix
- svr5 Unix
- sco_sv Unix
- unicos Unix
- unicosmk Unix
- solaris Unix
- sunos Unix
- cygwin Unix
- os2 Unix
- gnu Unix
- gnukfreebsd Unix
- haiku Unix
-
- dos Windows
- MSWin32 Windows
-
- os390 EBCDIC
- os400 EBCDIC
- posix-bc EBCDIC
- vmesa EBCDIC
-
- MacOS MacOS
- VMS VMS
- VOS VOS
- riscos RiscOS
- amigaos Amiga
- mpeix MPEiX
- );
-
# We only use this once - don't waste a symbol table entry on it.
# More importantly, don't make it an inheritable method.
my $load = sub {
@@ -68,20 +21,19 @@
{
my @package = split /::/, __PACKAGE__;
+ my $ostype = os_type();
+
if (grep {-e File::Spec->catfile($_, @package, 'Platform', $^O) . '.pm'}
@INC) {
$load->(__PACKAGE__ . "::Platform::$^O");
- } elsif (exists $OSTYPES{$^O} and
- grep {-e File::Spec->catfile($_, @package, 'Platform',
$OSTYPES{$^O}) . '.pm'} @INC) {
- $load->(__PACKAGE__ . "::Platform::$OSTYPES{$^O}");
+ } elsif ( $ostype && grep {-e File::Spec->catfile($_, @package, 'Platform',
$ostype) . '.pm'} @INC) {
+ $load->(__PACKAGE__ . "::Platform::$ostype");
} else {
$load->(__PACKAGE__ . "::Base");
}
}
-sub os_type { $OSTYPES{$^O} }
-
1;
__END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/t/04-base.t
new/ExtUtils-CBuilder-0.280205/t/04-base.t
--- old/ExtUtils-CBuilder-0.280202/t/04-base.t 2011-01-23 16:48:57.000000000
+0100
+++ new/ExtUtils-CBuilder-0.280205/t/04-base.t 2012-02-22 05:08:30.000000000
+0100
@@ -1,7 +1,7 @@
#! perl -w
use strict;
-use Test::More tests => 50;
+use Test::More tests => 64;
use Config;
use Cwd;
use File::Path qw( mkpath );
@@ -45,7 +45,9 @@
}
{
- my $path_to_perl = File::Spec->catfile( '', qw| usr bin perl | );
+ my $path_to_perl = $^O eq 'VMS'
+ ? 'perl_root:[000000]perl.exe'
+ : File::Spec->catfile( '', qw| usr bin perl | );
local $^X = $path_to_perl;
is(
ExtUtils::CBuilder::Base::find_perl_interpreter(),
@@ -326,6 +328,29 @@
"_prepare_mksymlists_args(): got expected arguments for Mksymlists",
);
+my %testvars = (
+ CFLAGS => 'ccflags',
+ LDFLAGS => 'ldflags',
+);
+
+while (my ($VAR, $var) = each %testvars) {
+ local $ENV{$VAR};
+ $base = ExtUtils::CBuilder::Base->new( quiet => 1 );
+ ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" );
+ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
+ like($base->{config}{$var}, qr/\Q$Config{$var}/,
+ "honours $var from Config.pm");
+
+ $ENV{$VAR} = "-foo -bar";
+ $base = ExtUtils::CBuilder::Base->new( quiet => 1 );
+ ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" );
+ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
+ like($base->{config}{$var}, qr/\Q$ENV{$VAR}/,
+ "honours $VAR from the environment");
+ like($base->{config}{$var}, qr/\Q$Config{$var}/,
+ "doesn't override $var from Config.pm with $VAR from the environment");
+}
+
#####
for ($source_file, $object_file, $lib_file) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/xt/release/eol.t
new/ExtUtils-CBuilder-0.280205/xt/release/eol.t
--- old/ExtUtils-CBuilder-0.280202/xt/release/eol.t 2011-01-23
16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/xt/release/eol.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-eval 'use Test::EOL';
-plan skip_all => 'Test::EOL required' if $@;
-
-all_perl_files_ok({ trailing_whitespace => 1 });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-CBuilder-0.280202/xt/release/pod-syntax.t
new/ExtUtils-CBuilder-0.280205/xt/release/pod-syntax.t
--- old/ExtUtils-CBuilder-0.280202/xt/release/pod-syntax.t 2011-01-23
16:48:57.000000000 +0100
+++ new/ExtUtils-CBuilder-0.280205/xt/release/pod-syntax.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#!perl
-use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-
-all_pod_files_ok();
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]