anyone want to test this? works for me against mssql 2008.
the in-tree version is old and no longer in the main CPAN directory.

Index: Makefile
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-Sybase/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile    15 Mar 2009 11:45:08 -0000      1.15
+++ Makefile    2 May 2010 11:11:53 -0000
@@ -4,8 +4,7 @@ SHARED_ONLY=    Yes
 
 COMMENT=       Sybase database driver for the DBI module
 
-DISTNAME=      DBD-Sybase-1.04
-PKGNAME=       p5-${DISTNAME}p4
+DISTNAME=      DBD-Sybase-1.10
 CATEGORIES=    databases
 
 # GPL/Artistic License
@@ -21,10 +20,12 @@ MODULES=    devel/gettext \
 
 LIB_DEPENDS=   ct.>=3::databases/freetds
 BUILD_DEPENDS= ${RUN_DEPENDS}
-RUN_DEPENDS=   :p5-DBI-*:databases/p5-DBI \
+RUN_DEPENDS=   :p5-DBI-*:databases/p5-DBI
 
 CONFIGURE_ENV+=        SYBASE=${LOCALBASE}
+CONFIGURE_ARGS=        --chained=y --accept_test_defaults
 
-NO_REGRESS=    Yes
+# after building, edit ${WRKSRC}/PWD to point at an available server
+REGRESS_IS_INTERACTIVE=        Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/databases/p5-DBD-Sybase/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    5 Apr 2007 15:37:50 -0000       1.5
+++ distinfo    2 May 2010 11:11:53 -0000
@@ -1,5 +1,5 @@
-MD5 (DBD-Sybase-1.04.tar.gz) = WuiFFom6S+XgsIsPssJC0w==
-RMD160 (DBD-Sybase-1.04.tar.gz) = Vb8FvYngNEHuqpIcrYnkKWQV3Is=
-SHA1 (DBD-Sybase-1.04.tar.gz) = 0cz5S5T0kNCR7PcBPMD2b65AaOo=
-SHA256 (DBD-Sybase-1.04.tar.gz) = LMvGyD3qBkJCNS10VO7U9T+IflpQNhsIpEGogvab1JQ=
-SIZE (DBD-Sybase-1.04.tar.gz) = 172727
+MD5 (DBD-Sybase-1.10.tar.gz) = hmaMj2JvWqM2ILJ0bE288Q==
+RMD160 (DBD-Sybase-1.10.tar.gz) = konRak2pAxVfIVe0lBVZCtXqYuc=
+SHA1 (DBD-Sybase-1.10.tar.gz) = XTPgjKCZdOBgLcotmuzzi5MpZ10=
+SHA256 (DBD-Sybase-1.10.tar.gz) = ftFYv1kLvC9WC9Et5Ip1A1lAWWdvq/vZZnWTYjZDEws=
+SIZE (DBD-Sybase-1.10.tar.gz) = 195702
Index: patches/patch-Makefile_PL
===================================================================
RCS file: patches/patch-Makefile_PL
diff -N patches/patch-Makefile_PL
--- patches/patch-Makefile_PL   15 Mar 2009 11:45:08 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$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)) {

Reply via email to