Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
r11961 - DBD-Pg/trunk
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
turns...@cvs.perl.org  
View profile  
 More options Oct 12 2008, 12:48 pm
Newsgroups: perl.dbd.pg.changes
From: turns...@cvs.perl.org
Date: Sun, 12 Oct 2008 09:48:05 -0700 (PDT)
Local: Sun, Oct 12 2008 12:48 pm
Subject: [svn:DBD-Pg] r11961 - DBD-Pg/trunk
Author: turnstep
Date: Sun Oct 12 09:48:04 2008
New Revision: 11961

Modified:
   DBD-Pg/trunk/Changes
   DBD-Pg/trunk/Makefile.PL

Log:
Strawberry Perl fix.

Modified: DBD-Pg/trunk/Changes
=========================================================================== ===
--- DBD-Pg/trunk/Changes        (original)
+++ DBD-Pg/trunk/Changes        Sun Oct 12 09:48:04 2008
@@ -1,5 +1,11 @@
 ('GSM' is Greg Sabino Mullane, g...@turnstep.com)

+2.10.8
+
+       - Adjustment of Makefile.PL to fix problem with Strawberry Perl.
+               Thanks to Martin Evan (martin.ev...@easysoft.com) and Brian
+               (elspicyj...@gmail.com) on the dbi-users list.
+
 2.10.7 Released September 22, 2008 (subversion r11869)

        - Fix test issue when dbname contains dashes.

Modified: DBD-Pg/trunk/Makefile.PL
=========================================================================== ===
--- DBD-Pg/trunk/Makefile.PL    (original)
+++ DBD-Pg/trunk/Makefile.PL    Sun Oct 12 09:48:04 2008
@@ -226,6 +226,22 @@
        }
 }

+sub constants {
+       my $self = shift;
+
+       my $old_constants = $self->SUPER::constants();
+       my $new_constants = '';
+       for my $line (split /\n/ => $old_constants) {
+               if ($line =~ /^INC = .*strawberry.*/ ) {
+                       print qq(Strawberry Perl found; adjusting the INC variable;\n);
+                       $line . ' -I ' . DBI::DBD::dbd_dbi_arch_dir();
+                       print qq(INC is now $line\n);
+               }
+               $new_constants .= "$line\n";
+       }
+       return $new_constants;
+}
+
 sub MY::postamble { ## no critic ProhibitQualifiedSubDeclarations
        no strict 'subs'; ## no critic ProhibitNoStrict
        my $string = DBI::DBD->dbd_postamble();


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »