diff options
author | vanilla <vanilla@FreeBSD.org> | 2001-04-19 05:44:03 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2001-04-19 05:44:03 +0000 |
commit | 82aaa3b470ae2daa623c1e8c04cd1661ec31c948 (patch) | |
tree | ce43c45ae0d8d931af46a4082ca7e3310d8f4cd8 /databases/p5-DBD-Pg/files | |
parent | f801d6e39d736b3904ccb2a151385ff33cb00442 (diff) | |
download | FreeBSD-ports-82aaa3b470ae2daa623c1e8c04cd1661ec31c948.zip FreeBSD-ports-82aaa3b470ae2daa623c1e8c04cd1661ec31c948.tar.gz |
Add a patch for Pg.pm, and bump version.
Obtained from: scrappy
Diffstat (limited to 'databases/p5-DBD-Pg/files')
-rw-r--r-- | databases/p5-DBD-Pg/files/patch-Pg.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/p5-DBD-Pg/files/patch-Pg.pm b/databases/p5-DBD-Pg/files/patch-Pg.pm new file mode 100644 index 0000000..e8d7d48 --- /dev/null +++ b/databases/p5-DBD-Pg/files/patch-Pg.pm @@ -0,0 +1,15 @@ +--- Pg.pm.orig Thu Apr 19 13:39:06 2001 ++++ Pg.pm Thu Apr 19 13:40:13 2001 +@@ -82,8 +82,10 @@ + $user = "" unless defined($user); + $auth = "" unless defined($auth); + +- $user = $ENV{DBI_USER} unless $user eq ""; +- $auth = $ENV{DBI_PASS} unless $auth eq ""; ++ $user ||= $ENV{DBI_USER}; ++ $auth ||= $ENV{DBI_PASS}; ++ $user ||= ""; ++ $auth ||= ""; + + my($dbh) = DBI::_new_dbh($drh, { + 'Name' => $Name, |