summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-Sybase/files/patch-Makefile.PL
blob: 040e6559557c89005aebe5188b11e071326d9b0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- Makefile.PL.orig	Mon Mar 31 18:55:11 2003
+++ Makefile.PL	Thu May 15 20:44:09 2003
@@ -22,7 +22,7 @@
 
 configure();
 
-configPwd();
+#configPwd();
 
 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});
 	if($file) {
-	    $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $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";