The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 04
META.yml 22
Makefile.PL 77
inc/Module/AutoInstall.pm 11
inc/Module/Install/AutoInstall.pm 11
inc/Module/Install/Base.pm 11
inc/Module/Install/Can.pm 11
inc/Module/Install/Compiler.pm 11
inc/Module/Install/Fetch.pm 11
inc/Module/Install/Include.pm 11
inc/Module/Install/Makefile.pm 11
inc/Module/Install/Metadata.pm 11
inc/Module/Install/Win32.pm 11
inc/Module/Install/WriteAll.pm 11
inc/Module/Install.pm 11
lib/Text/QRCode.pm 11
16 files changed (This is a version diff) 2226
@@ -1,5 +1,9 @@
 Revision history for Text-QRCode
 
+0.04    Tue Apr  1 04:12:18 GMT 2014
+        - Add '--cflags' option to pkg-config for when installed libqrencode
+          in an unusual directory(debug-ito).
+
 0.03    Thu Mar  6 08:57:19 GMT 2014
         - Fix to avoid to conflict 'PKG_CONFIG_PATH' env name(ytnnobody).
 
@@ -8,7 +8,7 @@ configure_requires:
   ExtUtils::MakeMaker: 6.36
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.06'
+generated_by: 'Module::Install version 1.08'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,4 +20,4 @@ no_index:
     - t
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.03
+version: '0.04'
@@ -14,16 +14,16 @@ auto_install;
 WriteAll;
 
 sub MY::post_constants {
-    my $define = eval { test_libqrencode() };
+    my ($define, $libs) = eval { test_libqrencode() };
     if ( $@ ) {
         warn $@;
         exit 0; # tell cpan testers that this is not a failure
     }
     return <<"POST_CONST";
-CCFLAGS += $define
-LDDLFLAGS += -lqrencode
-LDFLAGS += -lqrencode
-LDLOADLIBS += -lqrencode
+CCFLAGS += $define $libs
+LDDLFLAGS += $libs
+LDFLAGS += $libs
+LDLOADLIBS += $libs
 POST_CONST
 }
 
@@ -41,7 +41,7 @@ sub test_libqrencode {
         warn "Cannot find pkg-config command.\nSpecify it to PKG_CONFIG_BIN_PATH env variable if you have pkg-config cmd";
         exit 0;
     }
-    my $libs = qx|$pkgconfig --libs libqrencode|;
+    my $libs = qx|$pkgconfig --cflags --libs libqrencode|;
     chomp $libs;
     my $compile_cmd = "cc $libs";
     my $libqrencode_url
@@ -110,5 +110,5 @@ EOT
                    test_libqrencode2.0.0 test_libqrencode2.0.0.c );
 
     die "*** Unknown error occured in libqrencode version check process." unless $version;
-    return $define_of{ $version };
+    return ($define_of{ $version }, $libs);
 }
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker ();
 
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 }
 
 # special map on pre-defined feature sets
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -4,7 +4,7 @@ package Module::Install::Base;
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 }
 
 # Suspend handler for "redefined" warnings
@@ -8,7 +8,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -7,7 +7,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -8,7 +8,7 @@ use Fcntl qw/:flock :seek/;
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -6,7 +6,7 @@ use Module::Install::Base ();
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }
@@ -31,7 +31,7 @@ BEGIN {
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '1.06';
+	$VERSION = '1.08';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;
@@ -10,7 +10,7 @@ use vars qw(@ISA $VERSION @EXPORT_OK);
 use Carp qw(croak);
 
 BEGIN {
-    $VERSION = '0.03';
+    $VERSION = '0.04';
     eval {
         require XSLoader;
         XSLoader::load('Text::QRCode', $VERSION);