Changes from previous: Version 1.33, released February 05th, 2011 ---------------------------------------------- [Bug fixes] * Move test dependencies to (unreleased) Bundle::Test::SQL::Statement to avoid circular dependencies Version 1.32, released January 19th, 2011 ---------------------------------------------- [Bug fixes] * Fixed invalid check for escaped single quotes * Fixed unpermitted modification of array source for table creation (CREATE TABLE AS IMPORT(?),[[..],[..]]) * Fixing alias used in ORDER BY (RT#61384, thanks jvm) * Fixing ORDER BY behavior for multiple sort columns (slower, but guaranteed correct) [Improvements] * renamed fetch-method into fetch_row (keep fetch() as alias) and add a fetch_rows() to fetch all rows at once * Different accessors for direction of ORDER BY clause query part and it's boolean equivalent "desc" (0 or 1, respectively) * Add a lot of Pure-Perl DBD's as build dependency for testing (skip DBD::AnyData for now, because it seems to be broken - check for next release) [Misc] * Bump requirement of DBI to 1.616 * switch for fully external DBD tests from DBD::XBase to DBD::SQLite * Document another limitation (lacking implicit creating temp table during processing a query using the same table with different aliases twice)
38 lines
1 KiB
Makefile
38 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.36 2011/10/10 09:51:13 hiramatsu Exp $
|
|
#
|
|
|
|
DISTNAME= SQL-Statement-1.33
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5sqs
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SQL/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/SQL-Statement/
|
|
COMMENT= Small, abstract SQL engine
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.86}:../../devel/p5-Test-Simple
|
|
|
|
DEPENDS+= p5-Clone>=0.30:../../devel/p5-Clone
|
|
DEPENDS+= p5-Params-Util>=1.00:../../devel/p5-Params-Util
|
|
|
|
CONFLICTS+= p5-DBI<=1.611
|
|
|
|
PERL5_PACKLIST= auto/SQL/Statement/.packlist
|
|
MAKE_ENV+= SQL_STATEMENT_WARN_UPDATE=sure
|
|
|
|
#pre-configure:
|
|
# cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
|
|
|
|
post-extract:
|
|
${FIND} ${WRKSRC} -name "*.pm" -type f -exec ${CHMOD} -x {} \;
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../databases/p5-DBI/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.612
|
|
BUILDLINK_DEPMETHOD.p5-DBI= build
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|