summaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-Pg/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2001-04-19 05:44:03 +0000
committervanilla <vanilla@FreeBSD.org>2001-04-19 05:44:03 +0000
commit82aaa3b470ae2daa623c1e8c04cd1661ec31c948 (patch)
treece43c45ae0d8d931af46a4082ca7e3310d8f4cd8 /databases/p5-DBD-Pg/files
parentf801d6e39d736b3904ccb2a151385ff33cb00442 (diff)
downloadFreeBSD-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.pm15
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,
OpenPOWER on IntegriCloud