openbsd-ports/databases/p5-DBD-Sybase/patches/patch-Makefile_PL
jcs 6e4b09059b import DBD-Sybase-1.00
submitted and maintained by Xavier Santolaria <xavier at santolaria.net>
2003-07-19 00:11:32 +00:00

32 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.1.1.1 2003/07/19 00:11:32 jcs Exp $
--- Makefile.PL.orig Tue Apr 1 01:55:11 2003
+++ Makefile.PL Thu Jul 10 15:49:43 2003
@@ -22,7 +22,7 @@ GetOptions('--file' => \$file);
configure();
-configPwd();
+#configPwd();
my $lddlflags = $Config{lddlflags};
$lddlflags = "-L$SYBASE/lib $lddlflags" unless $^O eq 'VMS';
@@ -111,13 +111,13 @@ sub configure {
} 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";