openbsd-ports/databases/p5-DBD-Sybase/patches/patch-Makefile_PL
2009-03-15 11:45:08 +00:00

22 lines
728 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.4 2009/03/15 11:45:08 ajacoutot Exp $
--- Makefile.PL.orig Fri Jun 11 13:52:00 2004
+++ Makefile.PL Sun Mar 15 12:31:05 2009
@@ -24,7 +24,7 @@ GetOptions('--file' => \$file);
configure();
-configPwd();
+#configPwd();
my $lddlflags = $Config{lddlflags};
$lddlflags = "-L$SYBASE/lib $lddlflags" unless $^O eq 'VMS';
@@ -128,7 +128,7 @@ sub configure {
if($file) {
$lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $attr{EXTRA_LIBS} -ldl -lm";
} else {
- $lib_string = "-L$SYBASE/lib -lct -lcs -ltcl -lcomn -lintl $extra -ldl -lm";
+ $lib_string = "-L$SYBASE/lib -lct -liconv -lintl $extra -lm";
}
if($newlibnames) {
foreach (qw(ct cs tcl comn intl)) {