summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-mysql
diff options
context:
space:
mode:
authorveego <veego@pkgsrc.org>2002-04-14 14:11:19 +0000
committerveego <veego@pkgsrc.org>2002-04-14 14:11:19 +0000
commit272214692bab5fe11a595dbbf90cb9f2f3c37843 (patch)
tree68532d76f4912215fa87488bc9d195b0a80b5b3e /databases/p5-DBD-mysql
parent619e2404e03c6876aa6c24d149b4a6bf9628a51d (diff)
downloadpkgsrc-272214692bab5fe11a595dbbf90cb9f2f3c37843.tar.gz
Patch the Install.pm file so we also add -Wl,-R$libdir for the mysqlclient
library on NetBSD. Fixes my PR# pkg/15574
Diffstat (limited to 'databases/p5-DBD-mysql')
-rw-r--r--databases/p5-DBD-mysql/distinfo3
-rw-r--r--databases/p5-DBD-mysql/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/databases/p5-DBD-mysql/distinfo b/databases/p5-DBD-mysql/distinfo
index ed8dd726ba2..38fcde2b9dd 100644
--- a/databases/p5-DBD-mysql/distinfo
+++ b/databases/p5-DBD-mysql/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/03/20 11:33:04 martti Exp $
+$NetBSD: distinfo,v 1.4 2002/04/14 14:11:19 veego Exp $
SHA1 (Msql-Mysql-modules-1.2219.tar.gz) = 23d9b4b44e5c02930b7b1f60dd70a99ad25e966f
Size (Msql-Mysql-modules-1.2219.tar.gz) = 195634 bytes
+SHA1 (patch-aa) = 2aabc77faf189de8fac6590955d9837eff8ad16b
diff --git a/databases/p5-DBD-mysql/patches/patch-aa b/databases/p5-DBD-mysql/patches/patch-aa
new file mode 100644
index 00000000000..a199e54462c
--- /dev/null
+++ b/databases/p5-DBD-mysql/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2002/04/14 14:11:19 veego Exp $
+
+--- lib/DBD/mysql/Install.pm-orig Sat Apr 7 14:31:06 2001
++++ lib/DBD/mysql/Install.pm Sun Apr 14 16:04:24 2002
+@@ -407,6 +407,9 @@
+ $Config::Config{'osname'} =~ /^sco\d+/) {
+ # Some extra libraries need added for SCO and Unixware
+ $sysliblist .= " -lc";
++ } elsif ($Config::Config{'osname'} eq 'netbsd') {
++ # We need to link with -Wl,-R if we're on NetBSD
++ $linkwith = "-Wl,-R$libdir";
+ } elsif ($Config::Config{'osname'} eq 'solaris') {
+ # We need to link with -R if we're on Solaris.......Brain-damaged....
+ $linkwith = "-R$libdir";