pkgsrc/databases/p5-DBD-Sybase/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.26 2006/02/05 23:08:32 joerg Exp $
#
Update p5-DBD-Sybase to 0.94. Changes: Release 0.93 Added password encryption option to connect() request (contributed by Tin Martone) Added initial nsql(). Added ct_get_data(), ct_send_data() and friends func(). Added ?-style placeholder support for exec proc statements. Changed getExtraLibs() in Makefile.PL to *not* link with -linsck or -ltli (this avoids problems if the $SYBASE/config/libtcl.cfg file has been set to load the threaded version of these libraries.) Added support for primary_key_info(). (release 0.92 was never publicly released for various reasons) Bugs Fixed: 366 ping() fails if connection has been marked dead 364 t/fail.t bug. Release 0.91 Removed artificial 1024 byte limit on char/varchar datatypes in result sets. Bug Fixes: 213: BLOBs are returned in HEX, not binary. Release 0.90 Release number sequence change: I'm dropping the "alpha" qualifier and I expect to release 1.00 fairly soon. Small Makefile.PL fix for Sybase 12.0 installation directory changes. Applied patch from Tim Ayers to allow 0x type formatting for binary data fetches (similar to what Sybase::CTlib and Sybase::DBlib allow). Fixed some t/ scripts to not fail when run against MS-SQL. Corrected the handling of timeout events in the client callback. Bug Fixes: 349: CS_NUMERIC bindings for ?-style placeholders fails for large values. 345: Dynamic statement ids get re-used. 351: prepared statements with placeholders cause handle to become unusable if *first* execute fails. 352: ping() doesn't work right in Apache::DBI (thanks to Kiriakos Georgiou) 353: syb_quoted_identifier doesn't work. 354: Calling fetch() after prepare() but no execute() fails with internal DBI error. This should also fix bug # 278 and 288. 297: type_info() returns incorrect or no data. 344: timeout doesn't work correctly. Fixes PR 15067 bye ebe@statsbiblioteket.dk
2002-07-03 01:57:21 +02:00
DISTNAME= DBD-Sybase-0.94
PKGNAME= p5-${DISTNAME}
PKGREVISION= 8
SVR4_PKGNAME= p5dsy
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
2003-07-17 23:21:03 +02:00
MAINTAINER= rh@NetBSD.org
2005-03-10 15:13:37 +01:00
HOMEPAGE= http://www.peppler.org/freeware/dbd-sybase.html
COMMENT= Perl DBI/DBD driver for Sybase/MS-SQL databases
PERL5_PACKLIST= auto/DBD/Sybase/.packlist
BUILD_DEFS+= USE_SYBASE_OPENCLIENT
BUILD_DEFS+= SYBASE
.if defined(USE_SYBASE_OPENCLIENT) && empty(USE_SYBASE_OPENCLIENT:M[Nn][Oo])
. if defined(SYBASE) || exists(${SYBASE}/lib/libct.so)
BUILDLINK_PASSTHRU_DIRS=${SYBASE}
_SYBASE= ${SYBASE}
. else
PKG_FAIL_REASON+= "You must define SYBASE to the base directory of your Open Client."
. endif
.else
_SYBASE= ${BUILDLINK_PREFIX.freetds}
.endif
PERL5_LDFLAGS+= ${COMPILER_RPATH_FLAG}${_SYBASE}/lib
MAKE_ENV+= SYBASE=${_SYBASE:Q}
.if !defined(USE_SYBASE_OPENCLIENT)
2004-05-14 20:49:52 +02:00
. include "../../databases/freetds/buildlink3.mk"
.endif
2002-09-20 03:06:22 +02:00
2004-05-14 20:49:52 +02:00
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"