pkgsrc/databases/p5-DBI/Makefile

22 lines
582 B
Makefile
Raw Normal View History

Update p5-DBI to 1.30. Most notable changes: Fixed problems with selectrow_array, selectrow_arrayref, and selectall_arrayref introduced in DBI 1.29. The trace output can be sent to STDOUT instead of STDERR by using "STDOUT" as the name of the file, i.e., $h->trace(..., "STDOUT") Added $sth->{ParamValues} to return a hash of the most recent values bound to placeholders via bind_param() or execute(). Enhanced ShowErrorStatement to include ParamValues if available: "DBD::foo::st execute failed: errstr [for statement ``...'' with params: 1='foo']" Fixed missing column in C implementation of fetchall_arrayref() Added C implementations of selectrow_arrayref() and fetchall_arrayref() in Driver.xst. All compiled drivers using Driver.xst will now be faster making those calls. Drivers just need to be recompiled and reinstalled to enable it. Added $max_rows parameter to fetchall_arrayref() to optionally limit the number of rows returned. Can now fetch batches of rows. Added MaxRows attribute to selectall_arrayref() which then passes it to fetchall_arrayref(). Documented that $h->func() does not trigger RaiseError etc so applications must explicitly check for errors. HandleError subroutine interface is now regarded as stable. Fixed reference loop causing a handle/memory leak that was introduced in DBI 1.16. Fixed DBI::Format to work with 'filehandles' from IO::Scalar and similar modules Fixed $h->func for DBI::PurePerl Fixed $dbh->{Name} for DBI::PurePerl Added DBI method call profiling and benchmarking. Added execute_array() and bind_param_array() documentation Removed undocumented Handlers attribute (replaced by HandleError). Greatly improved DBI::PurePerl in performance and accuracy. Added DBI::PurePerl, a transparent DBI emulation for pure-perl drivers See Perldoc DBI::PurePerl for details. Added DBI::Const::GetInfo* modules Added write_getinfo_pm utility to DBI::DBD Added $allow_active==2 mode for prepare_cached() Extend $h->{Warn} to commit/rollback ineffective warning
2002-08-21 02:30:20 +02:00
# $NetBSD: Makefile,v 1.14 2002/08/21 00:30:20 mjl Exp $
#
Update p5-DBI to 1.30. Most notable changes: Fixed problems with selectrow_array, selectrow_arrayref, and selectall_arrayref introduced in DBI 1.29. The trace output can be sent to STDOUT instead of STDERR by using "STDOUT" as the name of the file, i.e., $h->trace(..., "STDOUT") Added $sth->{ParamValues} to return a hash of the most recent values bound to placeholders via bind_param() or execute(). Enhanced ShowErrorStatement to include ParamValues if available: "DBD::foo::st execute failed: errstr [for statement ``...'' with params: 1='foo']" Fixed missing column in C implementation of fetchall_arrayref() Added C implementations of selectrow_arrayref() and fetchall_arrayref() in Driver.xst. All compiled drivers using Driver.xst will now be faster making those calls. Drivers just need to be recompiled and reinstalled to enable it. Added $max_rows parameter to fetchall_arrayref() to optionally limit the number of rows returned. Can now fetch batches of rows. Added MaxRows attribute to selectall_arrayref() which then passes it to fetchall_arrayref(). Documented that $h->func() does not trigger RaiseError etc so applications must explicitly check for errors. HandleError subroutine interface is now regarded as stable. Fixed reference loop causing a handle/memory leak that was introduced in DBI 1.16. Fixed DBI::Format to work with 'filehandles' from IO::Scalar and similar modules Fixed $h->func for DBI::PurePerl Fixed $dbh->{Name} for DBI::PurePerl Added DBI method call profiling and benchmarking. Added execute_array() and bind_param_array() documentation Removed undocumented Handlers attribute (replaced by HandleError). Greatly improved DBI::PurePerl in performance and accuracy. Added DBI::PurePerl, a transparent DBI emulation for pure-perl drivers See Perldoc DBI::PurePerl for details. Added DBI::Const::GetInfo* modules Added write_getinfo_pm utility to DBI::DBD Added $allow_active==2 mode for prepare_cached() Extend $h->{Warn} to commit/rollback ineffective warning
2002-08-21 02:30:20 +02:00
DISTNAME= DBI-1.30
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5dbi
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.symbolstone.org/technology/perl/DBI/index.html
COMMENT= the database-independent Perl database access API
USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBI/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"