summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Sybase/files/patch-Makefile.PL
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2006-06-19 12:18:05 +0000
committerMathieu Arnold <mat@FreeBSD.org>2006-06-19 12:18:05 +0000
commit3c47d55ef1ac15c17ce14e60d6df6729d429e39b (patch)
tree8ad908522ccfd113e7132b21f9b881e6e9d95996 /databases/p5-DBD-Sybase/files/patch-Makefile.PL
parentrcNGefy (diff)
Update to 1.07
Diffstat (limited to 'databases/p5-DBD-Sybase/files/patch-Makefile.PL')
-rw-r--r--databases/p5-DBD-Sybase/files/patch-Makefile.PL42
1 files changed, 22 insertions, 20 deletions
diff --git a/databases/p5-DBD-Sybase/files/patch-Makefile.PL b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
index 040e6559557c..a4ea6a69a7b7 100644
--- a/databases/p5-DBD-Sybase/files/patch-Makefile.PL
+++ b/databases/p5-DBD-Sybase/files/patch-Makefile.PL
@@ -1,6 +1,6 @@
---- Makefile.PL.orig Mon Mar 31 18:55:11 2003
-+++ Makefile.PL Thu May 15 20:44:09 2003
-@@ -22,7 +22,7 @@
+--- Makefile.PL.orig Sat Apr 9 11:02:35 2005
++++ Makefile.PL Mon Jun 19 13:33:18 2006
+@@ -26,7 +26,7 @@
configure();
@@ -9,23 +9,25 @@
my $lddlflags = $Config{lddlflags};
$lddlflags = "-L$SYBASE/lib $lddlflags" unless $^O eq 'VMS';
-@@ -111,13 +111,13 @@
- } else {
- my $extra = getExtraLibs($SYBASE, $attr{EXTRA_LIBS});
+@@ -151,16 +151,16 @@
+
+ my $extra = getExtraLibs($SYBASE, $attr{EXTRA_LIBS}, $version);
if($file) {
-- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $attr{EXTRA_LIBS} -ldl -lm";
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -lblk $attr{EXTRA_LIBS} -ldl -lm";
+ $lib_string = "-L$SYBASE/lib -lct -lintl $attr{EXTRA_LIBS} -lm";
} else {
-- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $extra -ldl -lm";
-- }
-- if($^O =~ /linux|freebsd/i) {
-- $lib_string =~ s/ltcl/lsybtcl/;
-- }
-+ $lib_string = "-L$SYBASE/lib -lct -lintl $extra -lm";
-+ }
-+# if($^O =~ /linux|freebsd/i) {
-+# $lib_string =~ s/ltcl/lsybtcl/;
-+# }
- if($attr{BUILD_TYPE} == 64) {
- $inc_string .= ' -DSYB_LP64';
- print "Running in 64bit mode - looking for '64' libraries...\n";
+- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl -lblk $extra -ldl -lm";
++ $lib_string = "-L$SYBASE/lib -lct -lintl $extra -lm";
+ }
+ if($newlibnames) {
+ foreach (qw(ct cs tcl comn intl blk)) {
+ $lib_string =~ s/-l$_/-lsyb$_/;
+ }
+- } elsif($^O =~ /linux|freebsd/i) {
+- $lib_string =~ s/-ltcl/-lsybtcl/;
+ }
++# } elsif($^O =~ /linux|freebsd/i) {
++# $lib_string =~ s/-ltcl/-lsybtcl/;
+ }
+
+ # Logic to replace normal libs with _r (re-entrant) libs if