r52898 - in /branches/upstream/libextutils-cbuilder-perl/current: ./ lib/ExtUtils/ lib/ExtUtils/CBuilder/ lib/ExtUtils/CBuilder/Platform/ lib/ExtUtils/CBuilder/Platform/Windows/ t/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Feb 16 19:59:28 UTC 2010


Author: jawnsy-guest
Date: Tue Feb 16 19:59:23 2010
New Revision: 52898

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=52898
Log:
[svn-upgrade] Integrating new upstream version, libextutils-cbuilder-perl (0.2701)

Modified:
    branches/upstream/libextutils-cbuilder-perl/current/Changes
    branches/upstream/libextutils-cbuilder-perl/current/META.yml
    branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL
    branches/upstream/libextutils-cbuilder-perl/current/README
    branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
    branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm
    branches/upstream/libextutils-cbuilder-perl/current/t/01-basic.t

Modified: branches/upstream/libextutils-cbuilder-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/Changes?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/Changes (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/Changes Tue Feb 16 19:59:23 2010
@@ -1,4 +1,10 @@
 Revision history for Perl extension ExtUtils::CBuilder.
+
+0.2701 - Tue Feb 16 09:12:45 EST 2010
+
+ Bugs fixed:
+ - compile() now accepts both string & array for 'include_dirs'
+   argument, as documented.(RT#54606) [Alberto Simões]
 
 0.27 - Thu Oct 29 21:29:56 EDT 2009
 

Modified: branches/upstream/libextutils-cbuilder-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/META.yml?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/META.yml (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/META.yml Tue Feb 16 19:59:23 2010
@@ -1,62 +1,62 @@
 ---
-name: ExtUtils-CBuilder
-version: 0.27
+abstract: 'Compile and link C code for Perl modules'
 author:
   - 'Ken Williams, kwilliams at cpan.org'
-abstract: Compile and link C code for Perl modules
-license: perl
-resources:
-  license: http://dev.perl.org/licenses/
-  repository: http://svn.perl.org/modules/ExtUtils-CBuilder
 build_requires:
   Test::More: 0.47
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: ExtUtils-CBuilder
+provides:
+  ExtUtils::CBuilder:
+    file: lib/ExtUtils/CBuilder.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Base:
+    file: lib/ExtUtils/CBuilder/Base.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::Unix:
+    file: lib/ExtUtils/CBuilder/Platform/Unix.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::VMS:
+    file: lib/ExtUtils/CBuilder/Platform/VMS.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::Windows:
+    file: lib/ExtUtils/CBuilder/Platform/Windows.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::Windows::BCC:
+    file: lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::Windows::GCC:
+    file: lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::Windows::MSVC:
+    file: lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::aix:
+    file: lib/ExtUtils/CBuilder/Platform/aix.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::cygwin:
+    file: lib/ExtUtils/CBuilder/Platform/cygwin.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::darwin:
+    file: lib/ExtUtils/CBuilder/Platform/darwin.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::dec_osf:
+    file: lib/ExtUtils/CBuilder/Platform/dec_osf.pm
+    version: 0.2701
+  ExtUtils::CBuilder::Platform::os2:
+    file: lib/ExtUtils/CBuilder/Platform/os2.pm
+    version: 0.2701
 requires:
   Cwd: 0
   File::Basename: 0
   File::Spec: 0
   IO::File: 0
   Text::ParseWords: 0
-provides:
-  ExtUtils::CBuilder:
-    file: lib/ExtUtils/CBuilder.pm
-    version: 0.27
-  ExtUtils::CBuilder::Base:
-    file: lib/ExtUtils/CBuilder/Base.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::Unix:
-    file: lib/ExtUtils/CBuilder/Platform/Unix.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::VMS:
-    file: lib/ExtUtils/CBuilder/Platform/VMS.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::Windows:
-    file: lib/ExtUtils/CBuilder/Platform/Windows.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::Windows::BCC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::Windows::GCC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::Windows::MSVC:
-    file: lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::aix:
-    file: lib/ExtUtils/CBuilder/Platform/aix.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::cygwin:
-    file: lib/ExtUtils/CBuilder/Platform/cygwin.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::darwin:
-    file: lib/ExtUtils/CBuilder/Platform/darwin.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::dec_osf:
-    file: lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-    version: 0.27
-  ExtUtils::CBuilder::Platform::os2:
-    file: lib/ExtUtils/CBuilder/Platform/os2.pm
-    version: 0.27
-generated_by: Module::Build version 0.3502
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+resources:
+  license: http://dev.perl.org/licenses/
+  repository: git://github.com/dagolden/extutils-cbuilder.git
+version: 0.2701

Modified: branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/Makefile.PL Tue Feb 16 19:59:23 2010
@@ -1,19 +1,19 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.35_02
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
-          'PL_FILES' => {},
-          'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
           'NAME' => 'ExtUtils::CBuilder',
-          'EXE_FILES' => [],
           'VERSION_FROM' => 'lib/ExtUtils/CBuilder.pm',
           'PREREQ_PM' => {
+                           'Cwd' => 0,
+                           'File::Basename' => 0,
+                           'File::Spec' => 0,
+                           'IO::File' => 0,
                            'Test::More' => '0.47',
-                           'Text::ParseWords' => 0,
-                           'IO::File' => 0,
-                           'File::Spec' => 0,
-                           'File::Basename' => 0,
-                           'Cwd' => 0
-                         }
+                           'Text::ParseWords' => 0
+                         },
+          'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
+          'EXE_FILES' => [],
+          'PL_FILES' => {}
         )
 ;

Modified: branches/upstream/libextutils-cbuilder-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/README?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/README (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/README Tue Feb 16 19:59:23 2010
@@ -11,21 +11,21 @@
 DESCRIPTION
     This module can build the C portions of Perl modules by invoking the
     appropriate compilers and linkers in a cross-platform manner. It was
-    motivated by the `Module::Build' project, but may be useful for other
+    motivated by the "Module::Build" project, but may be useful for other
     purposes as well. However, it is *not* intended as a general
     cross-platform interface to all your C building needs. That would have
     been a much more ambitious goal!
 
 METHODS
-    new Returns a new `ExtUtils::CBuilder' object. A `config' parameter lets
-        you override `Config.pm' settings for all operations performed by
+    new Returns a new "ExtUtils::CBuilder" object. A "config" parameter lets
+        you override "Config.pm" settings for all operations performed by
         the object, as in the following example:
 
           # Use a different compiler than Config.pm says
           my $b = ExtUtils::CBuilder->new( config =>
                                            { ld => 'gcc' } );
 
-        A `quiet' parameter tells `CBuilder' to not print its `system()'
+        A "quiet" parameter tells "CBuilder" to not print its "system()"
         commands before executing them:
 
           # Be quieter than normal
@@ -43,47 +43,47 @@
     compile
         Compiles a C source file and produces an object file. The name of
         the object file is returned. The source file is specified in a
-        `source' parameter, which is required; the other parameters listed
+        "source" parameter, which is required; the other parameters listed
         below are optional.
 
-        `object_file'
+        "object_file"
             Specifies the name of the output file to create. Otherwise the
-            `object_file()' method will be consulted, passing it the name of
-            the `source' file.
+            "object_file()" method will be consulted, passing it the name of
+            the "source" file.
 
-        `include_dirs'
+        "include_dirs"
             Specifies any additional directories in which to search for
             header files. May be given as a string indicating a single
             directory, or as a list reference indicating multiple
             directories.
 
-        `extra_compiler_flags'
+        "extra_compiler_flags"
             Specifies any additional arguments to pass to the compiler.
             Should be given as a list reference containing the arguments
             individually, or if this is not possible, as a string containing
             all the arguments together.
 
-        `C++'
+        "C++"
             Specifies that the source file is a C++ source file and sets
             appropriate compiler flags
 
-        The operation of this method is also affected by the `archlibexp',
-        `cccdlflags', `ccflags', `optimize', and `cc' entries in
-        `Config.pm'.
+        The operation of this method is also affected by the "archlibexp",
+        "cccdlflags", "ccflags", "optimize", and "cc" entries in
+        "Config.pm".
 
     link
         Invokes the linker to produce a library file from object files. In
         scalar context, the name of the library file is returned. In list
         context, the library file and any temporary files created are
-        returned. A required `objects' parameter contains the name of the
+        returned. A required "objects" parameter contains the name of the
         object files to process, either in a string (for one object file) or
         list reference (for one or more files). The following parameters are
         optional:
 
         lib_file
             Specifies the name of the output library file to create.
-            Otherwise the `lib_file()' method will be consulted, passing it
-            the name of the first entry in `objects'.
+            Otherwise the "lib_file()" method will be consulted, passing it
+            the name of the first entry in "objects".
 
         module_name
             Specifies the name of the Perl module that will be created by
@@ -93,25 +93,25 @@
         extra_linker_flags
             Any additional flags you wish to pass to the linker.
 
-        On platforms where `need_prelink()' returns true, `prelink()' will
+        On platforms where "need_prelink()" returns true, "prelink()" will
         be called automatically.
 
-        The operation of this method is also affected by the `lddlflags',
-        `shrpenv', and `ld' entries in `Config.pm'.
+        The operation of this method is also affected by the "lddlflags",
+        "shrpenv", and "ld" entries in "Config.pm".
 
     link_executable
         Invokes the linker to produce an executable file from object files.
         In scalar context, the name of the executable file is returned. In
         list context, the executable file and any temporary files created
-        are returned. A required `objects' parameter contains the name of
+        are returned. A required "objects" parameter contains the name of
         the object files to process, either in a string (for one object
         file) or list reference (for one or more files). The optional
-        parameters are the same as `link' with exception for
+        parameters are the same as "link" with exception for
 
         exe_file
             Specifies the name of the output executable file to create.
-            Otherwise the `exe_file()' method will be consulted, passing it
-            the name of the first entry in `objects'.
+            Otherwise the "exe_file()" method will be consulted, passing it
+            the name of the first entry in "objects".
 
     object_file
          my $object_file = $b->object_file($source_file);
@@ -138,13 +138,13 @@
     prelink
         On certain platforms like Win32, OS/2, VMS, and AIX, it is necessary
         to perform some actions before invoking the linker. The
-        `ExtUtils::Mksymlists' module does this, writing files used by the
+        "ExtUtils::Mksymlists" module does this, writing files used by the
         linker during the creation of shared libraries for dynamic
         extensions. The names of any files written will be returned as a
         list.
 
         Several parameters correspond to
-        `ExtUtils::Mksymlists::Mksymlists()' options, as follows:
+        "ExtUtils::Mksymlists::Mksymlists()" options, as follows:
 
             Mksymlists()   prelink()          type
            -------------|-------------------|-------------------
@@ -157,26 +157,26 @@
             IMPORTS     |  dl_imports       | hash reference
             VERSION     |  dl_version       | string
 
-        Please see the documentation for `ExtUtils::Mksymlists' for the
+        Please see the documentation for "ExtUtils::Mksymlists" for the
         details of what these parameters do.
 
     need_prelink
-        Returns true on platforms where `prelink()' should be called during
+        Returns true on platforms where "prelink()" should be called during
         linking, and false otherwise.
 
     extra_link_args_after_prelink
         Returns list of extra arguments to give to the link command; the
         arguments are the same as for prelink(), with addition of array
         reference to the results of prelink(); this reference is indexed by
-        key `prelink_res'.
+        key "prelink_res".
 
 TO DO
     Currently this has only been tested on Unix and doesn't contain any of
-    the Windows-specific code from the `Module::Build' project. I'll do that
+    the Windows-specific code from the "Module::Build" project. I'll do that
     next.
 
 HISTORY
-    This module is an outgrowth of the `Module::Build' project, to which
+    This module is an outgrowth of the "Module::Build" project, to which
     there have been many contributors. Notably, Randy W. Sims submitted lots
     of code to support 3 compilers on Windows and helped with various other
     platform-specific issues. Ilya Zakharevich has contributed fixes for

Modified: branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/SIGNATURE Tue Feb 16 19:59:23 2010
@@ -14,33 +14,33 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 e662e62d05428d4eb050f3bd183a9c31d042b1c4 Changes
+SHA1 d11e87591d584b0340ff383265bda8bc7c63076e Changes
 SHA1 f44181f0de8d9e5e85addef8ba2156e810c39884 INSTALL
 SHA1 97312b1216af3f7b4474d3ca9dff779505eeebd8 MANIFEST
-SHA1 96bccf4039036a810a93e18f5fdeec8124463d44 META.yml
-SHA1 37cf75d38244706af65b0df2cbecea07df5a4a76 Makefile.PL
-SHA1 254c458b6cbbe607e670c9dbf73eaf2fd1c0eef9 README
-SHA1 bdb8da8c49f8cb54247fb5d202ef8e32a4715d23 lib/ExtUtils/CBuilder.pm
-SHA1 470aca5918e0393571f1648f06865cdebdc5ccfe lib/ExtUtils/CBuilder/Base.pm
-SHA1 9a95e6a187a17baf01d9828f64292399d882ca3d lib/ExtUtils/CBuilder/Platform/Unix.pm
-SHA1 590c542d65eb24128b75cd844a02730d307e9775 lib/ExtUtils/CBuilder/Platform/VMS.pm
-SHA1 2bc342e0aef6133a95b0d9900c559af542e160f6 lib/ExtUtils/CBuilder/Platform/Windows.pm
-SHA1 14cb5bb7e4e79a0ce934cbe5072d804dc502bcb1 lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
-SHA1 98b39b4d3dc8a98231f042ca92ad9d0a54ccbd88 lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
-SHA1 540493991196adbc99cafc2903a28cebe3ec676a lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
-SHA1 99f32318dd14aaa10d08d5aedbc05093c005d450 lib/ExtUtils/CBuilder/Platform/aix.pm
-SHA1 85cfc376b760e9bcdf9d1606b37f8644a18bb178 lib/ExtUtils/CBuilder/Platform/cygwin.pm
-SHA1 d81eec7c302d61cf482995d5b0ec6967812c0ca1 lib/ExtUtils/CBuilder/Platform/darwin.pm
-SHA1 bd604b97a170de2317fd554ed591fe2716852be9 lib/ExtUtils/CBuilder/Platform/dec_osf.pm
-SHA1 1263d17a2e09f33b3eeb11d38d74b46d99786258 lib/ExtUtils/CBuilder/Platform/os2.pm
+SHA1 4f363bea795d4a16d163dbfdcd1c7ee17eb33f87 META.yml
+SHA1 c4e4c2660dd2e1201977fcabacdc87ec7b1788ce Makefile.PL
+SHA1 367fe94e72d126e254ec04ae48b5928eee8a5aa0 README
+SHA1 4b0a2617a5da9ee8038635b12a73f513cf2b1ec4 lib/ExtUtils/CBuilder.pm
+SHA1 c76206f15254dc0bb07ce0dd5c9d27461822c630 lib/ExtUtils/CBuilder/Base.pm
+SHA1 5069a16c3df09da68a9347be91ec61dff6e48e23 lib/ExtUtils/CBuilder/Platform/Unix.pm
+SHA1 305ac159194c8ab9131f85fa67a2ea4aba605b24 lib/ExtUtils/CBuilder/Platform/VMS.pm
+SHA1 b7a30d5de4081609b9fd8d6d593e5b4d2bc8f852 lib/ExtUtils/CBuilder/Platform/Windows.pm
+SHA1 510749eb22cb43f8ec572615299c15ac68e65313 lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
+SHA1 27d8d2268b9c54dde6173efc808bcc3e03fe122e lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
+SHA1 8f80d75e4c082e69d0a3e882be81dddb6f52c242 lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
+SHA1 4291d03aa5310dacbf3c062fe8bb2418f5a9ef7f lib/ExtUtils/CBuilder/Platform/aix.pm
+SHA1 cb6ab6332aaadef250856fd02ed529273ca3c675 lib/ExtUtils/CBuilder/Platform/cygwin.pm
+SHA1 8e377a3357324464687645a2b1bfe9500af1f032 lib/ExtUtils/CBuilder/Platform/darwin.pm
+SHA1 5b3d324e3d17312f0a2d3ef93f819303f33161f9 lib/ExtUtils/CBuilder/Platform/dec_osf.pm
+SHA1 52180e92168935f3ba9321cb97d2e3805fe08891 lib/ExtUtils/CBuilder/Platform/os2.pm
 SHA1 229af50d0c0fcaefaf7002efc8b77ec8be9055a7 t/00-have-compiler.t
-SHA1 83ae72eac9b9344f8a639eba3ffb288ecc505843 t/01-basic.t
+SHA1 6c951c076fe4fc63d164e33d48ae7aaa18c0e49e t/01-basic.t
 SHA1 af3c21ce65198e7adb9c98721809d80e1a240618 t/02-link.t
 SHA1 88d179cde999a9244750ce97e49c0338482d9e39 t/03-cplusplus.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iEYEARECAAYFAkrqQakACgkQKeygAqLMQmP6jQCcDPHwMmgVDKB0puhydj5kuWnf
-WLYAmgMESq0/KIdzgbMOhzQ5kWcHDp7E
-=nVvM
+iEYEARECAAYFAkt6rYUACgkQKeygAqLMQmNVeQCgul4TMG76/Mtvp+yT07IH8vgx
+qR0AoO5EWCIRuHh6fEJJFEvmPFIY/PFy
+=3j4b
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder.pm Tue Feb 16 19:59:23 2010
@@ -5,7 +5,7 @@
 use File::Basename ();
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 $VERSION = eval $VERSION;
 
 # Okay, this is the brute-force method of finding out what kind of

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Base.pm Tue Feb 16 19:59:23 2010
@@ -9,7 +9,7 @@
 use IO::File;
 
 use vars qw($VERSION);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 
 sub new {
   my $class = shift;
@@ -89,7 +89,9 @@
   my $cf = $self->{config}; # For convenience
 
   $args{object_file} ||= $self->object_file($args{source});
-  
+
+  $args{include_dirs} = [ $args{include_dirs} ] if exists($args{include_dirs}) &&
+                                                   ref($args{include_dirs}) ne "ARRAY";
   my @include_dirs = $self->arg_include_dirs
     (@{$args{include_dirs} || []},
      $self->perl_inc());

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Unix.pm Tue Feb 16 19:59:23 2010
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 sub link_executable {

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/VMS.pm Tue Feb 16 19:59:23 2010
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Base;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 use File::Spec::Functions qw(catfile catdir);

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows.pm Tue Feb 16 19:59:23 2010
@@ -10,7 +10,7 @@
 use IO::File;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Base);
 
 =begin comment

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm Tue Feb 16 19:59:23 2010
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::BCC;
 
 use vars qw($VERSION);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 
 sub format_compiler_cmd {
   my ($self, %spec) = @_;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm Tue Feb 16 19:59:23 2010
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::GCC;
 
 use vars qw($VERSION);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 
 sub format_compiler_cmd {
   my ($self, %spec) = @_;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm Tue Feb 16 19:59:23 2010
@@ -1,7 +1,7 @@
 package ExtUtils::CBuilder::Platform::Windows::MSVC;
 
 use vars qw($VERSION);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 
 sub arg_exec_file {
   my ($self, $file) = @_;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/aix.pm Tue Feb 16 19:59:23 2010
@@ -5,7 +5,7 @@
 use File::Spec;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/cygwin.pm Tue Feb 16 19:59:23 2010
@@ -5,7 +5,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 # TODO: If a specific exe_file name is requested, if the exe created

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/darwin.pm Tue Feb 16 19:59:23 2010
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub compile {

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/dec_osf.pm Tue Feb 16 19:59:23 2010
@@ -6,7 +6,7 @@
 
 use vars qw($VERSION @ISA);
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 
 sub link_executable {
   my $self = shift;

Modified: branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/lib/ExtUtils/CBuilder/Platform/os2.pm Tue Feb 16 19:59:23 2010
@@ -4,7 +4,7 @@
 use ExtUtils::CBuilder::Platform::Unix;
 
 use vars qw($VERSION @ISA);
-$VERSION = '0.27';
+$VERSION = '0.2701';
 @ISA = qw(ExtUtils::CBuilder::Platform::Unix);
 
 sub need_prelink { 1 }

Modified: branches/upstream/libextutils-cbuilder-perl/current/t/01-basic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libextutils-cbuilder-perl/current/t/01-basic.t?rev=52898&op=diff
==============================================================================
--- branches/upstream/libextutils-cbuilder-perl/current/t/01-basic.t (original)
+++ branches/upstream/libextutils-cbuilder-perl/current/t/01-basic.t Tue Feb 16 19:59:23 2010
@@ -23,7 +23,7 @@
   plan skip_all => "no compiler available for testing";
 }
 else {
-  plan tests => 10;
+  plan tests => 12;
 }
 
 ok $b, "created EU::CB object";
@@ -70,3 +70,24 @@
   is( $words[0], 'foo' );
   is( $words[1], 'bar' );
 }
+
+# include_dirs should be settable as string or list
+{
+  package Sub;
+  use base 'ExtUtils::CBuilder';
+  my $saw = 0;
+  sub do_system {1}
+  sub arg_include_dirs {
+    $saw = 1 if grep {$_ eq 'another dir'} @_;
+  }
+
+  package main;
+  my $s = Sub->new();
+  $s->compile(source => 'foo',
+	      include_dirs => 'another dir');
+  ok $saw;
+
+  $s->compile(source => 'foo',
+	      include_dirs => ['a dir', 'another dir']);
+  ok $saw;
+}




More information about the Pkg-perl-cvs-commits mailing list